Interactive Input/Output
- User-friendly i/o consists of a cout for the prompt and a cin for the entry
- Should have one cin for each entry expected from the user
- Echo (display) the entries at the end with the output
- Remember who the user is when creating prompts
- Novice users need more verbose prompting; ask for inputs one at a time
- An experienced user who wants to enter data quickly can handle multiple inputs per line
- Error checking later
Previous page
Go to Lesson 4 index.