home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_04 / 238.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-11  |  509KB  |  2550x3300
Labels: binder | book | crt screen | monitor | poster | reckoner | screen
OCR: 238 Chapter Arrays and Pointers Example 4-12: area.c area Synopsis the width Accepts area of input the rectangl of Le, rectangl values for calculates the and length and displays Object ive Illustrates how in tc separate structure funct progr on am so that iaput done Incl lude Files #incl lude <stdio h void Funct: get PRECONDIT ion input ION Prototypes double Ler vari funct ab tion *len les and of ptr, wid type ptr double double conta *wid in ptr declared the ); in adaresses the of calling POSTCOND TION to input actual from passed the parame igns keyhoard, ters values in to the the form contents of two Q calls the scanf double calculate( doub vall, doubl le val2 PRECONDITION vall and val variabl les of type double POSTCONDITION returns the product of its arguments void display( double PRECO ...