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 / 615.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-19  |  618KB  |  2550x3300
Labels: binder | book | crt screen | daybook | reckoner | screen | tree
OCR: Functions 15 11.3 Using Mathematical the origin Type Descri ipt ions y function. struct cartesian his function doub le would double The function ill convert struct polar imeric value double radi ius, takes two double angl e second is a elements Prototypes Functi ion ontents of its polar polar( struct cartesian *cart struct cartesian or example, struct PRECONDI TION cart conta ins the address of POSTCONDITION: converts point from Cartesian struct coordi polar .nates to will point to polar coordinates; returns of the string passing double get coord( char ); of string PRECONDIT ION: conta iins the address POSTCOND TION: reads string represent ing floating the number point number from the keyboard, returns double int main( void dinates struct cartesian cpo: .nt, struct polar rodd, int; hatics ...