Introduction
Input and output let a program talk with people. Input lets the program get information from users, and output shows results back to them.
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 your program needs to read data from a file or keyboard.
When you want to save results or messages for the user to see.