I/O means Input and Output. One way: use standard input and standard output. To read in data, use scanf() (or a few other functions) To write out data,
Chapter 7 : File Processing1 File-Oriented Input & Output CHAPTER 7.
File-Oriented Input & Output