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 / 659.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-20  |  572KB  |  2550x3300
Labels: binder | book | crt screen | reckoner
OCR: 11.8 Conditional Compilation 659 float price; Ifit transact ons[50]; mbol Functi ion Prototypes int get customer cust struct statement *cust struct statement declared PRECONDITION: pointer es in the calling function input POSTCONDITION: accepts input of informati ion for single cus tomer em ded int main void struct statement customer; FILE fp, fopen "sta tements" "w" NULL perror "File Openi bu Error" exit printf( "Enter your EOF when customer you are transacti done .ons now \n"; printf( "signal while get cust tomer( &customer fp fwr te &cus tomer zeof customer printf( "Thank you, the statements will be prepared In return * get cus stomer() int get cus tomer struct statement *cust printf( "Enter cust tomer 30, name stdin NULL fgets( cust ->name return pri intf( "Enter customer account numbe ...