home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_03 / 170.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  779KB  |  2550x3300
Labels: book | poster | reckoner
OCR: 170 Chapter Basic Data Types Input and Output of Floating Point Values The functions printf( and scanf) have conversion specifications for float, doubl e and long double values The conversion specifications for scanf() are and for float values lf and slq for double values, and $Le and %Lg for long doubl e values With the scanf function. all of these conversion specif fications work for values in either decimal exponential format The is a length specifier that indicates that the corresponding argument will have type double; length specif fier that specifies the corres sponding argument will have type long double. For example the statements scanf &varname scanf &varname expect to read floating point value and expect the variable varname to have type float. The statements scanf 19 lf" &varnam ...