Introduction
Input and output let a program talk with people or other programs. Input lets the program get information, and output shows results.
When you want the user to enter their name or age.
When a program needs to read data from a file or keyboard.
When you want to show results or messages on the screen.
When a program sends data to another program or device.
When debugging to see what the program is doing.