home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / _ANSWERS_ / 02.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-18  |  486KB  |  2550x3300
Labels: book | computer | crt screen | monitor | poster | reckoner | sky
OCR: Answers to Selected Learning Activities second third fourth pri intf( "First sd, second third fourth \n" YSt second thi rd fourth return In general scanf stops converting the input to decimal when 11 encounters character other than decimal digit With the modified statement cels ius fahrenheit the quotient 19 calculated first The quotient of this truncating integer division and therefore, the right hand side of the ass signment statement will always have value 29 34 in ANSI C: #inc] lude <stdio.h> int cube( int int main void int intvar, pri intf( "Enter an integer: scanf( n &intvar pr intf( "Result: td\n", cube( intvar intvar tur int cube int returr Chapter The conditional statement is sum pr. "The number is small.\n" ); The control express sion is encounter conditiona expression