Introduction
Input and output let a program talk with people. Input lets the program get information from users. Output shows results back to users.
When you want to ask a user for their name and greet them.
When you need to get numbers from a user to do math.
When you want to show the result of a calculation on the screen.
When you want to read data from a file and display it.
When you want to save user choices or answers for later.