Introduction
Input and output let a program talk with people. Input lets the program get information from the user. Output shows results back to the user.
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 or decision.
When you want to save user choices or answers.
When you want to make your program interactive and useful.