home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_10 / 602.jpg < prev   
Joint Photographic Experts Group Image  |  2014-01-29  |  464KB  |  2550x3300
Labels: book | reckoner
OCR: 602 Chapter 10 Input and Output Your program will first read the information about a recipient and open an out put file named with the last name of the recipient and an extension let The program will then read the input file that contains the letter and copy the letter to the file Whenever the program reads #N# the full name of the recip- ient will be written to the output file in its place. Whenever the program sees #A# the address will be written to the file in its place The first name will be written whenever F is seen, and the last name will be written when- ever #1# is seen The program will close the output file when the letter is completed The program should continue and create letters for every recipient in the recipients file indhno