home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_11 / 660.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-20  |  671KB  |  2550x3300
Labels: book | reckoner
OCR: 660 Chapter 1 C Library and Preprocessor Facilities code enter the transact: .ons goes here return The program consists of ma in) and get cus tomer () The function main opens the output file and handles any resulting errors then enters while loop to read and store the customer information. The function get cus tomer will return a value of when it has valid cust tomer information and value of o when reaches the end 0 input The code for get cus tomer() consists of printf() calls to prompt for input, and calls to fgets to read the input. Note 1:If the symbol ACME has been defined for a particular compilation, the size of the character array will be 9 the 8-character account number and terminating null character) If ACME is not defined, the account array will hold 16-character account number p ...