home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_01 / 027.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-02  |  606KB  |  2550x3300
Labels: binder | book | poster | reckoner | shelf
OCR: Input and Output with Variables ose input function sion gram The starts specifications program here in input2.c both in printf() Example 1-7 and scanf illustrates ( the The use of these discussion three of that conver- pro- ected values if the An exercise below Example 1-7: input2.c input2 works as you Synopsis vari iable of type int is declared The program prompts for, accepts input of, and outputs an integer value The input and output are done three imes dec imal, hexadec imal, and example, oct a1 pe digits and tabs before ect ive Illustrates input and out tput of an integer value with scanf and printf( us ing the each case in for convers Lon hexadecimal spec if and icati %0 .ons for pz for octal dec imal, to inputl #incl lude <stdio h bles on the sses displayed. int main( void int intva ...