revised: 9/26/98, 7/30/99, 01/17/00, 06/01/00, 01/16/06, 06/19/14
This chapter discusses input and output. Most programs input data, process it, and then output the results. This chapter discusses ways to input data from the keyboard and output results to the monitor. Later chapters will discuss input and output from disk files and other media.
When a computer program does an input operation, in which direction does the data flow?