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 / 037.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-06  |  656KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: Arithmetic Operations oles D fahrcels.c following code nmen to and Synopsis Converts temperature entered in degrees Kpression assigned Fahrenheit to Celsius Uses vari ables type int rentheses Object ive Tc illustrate pract ical use of arithmet tic operators #incl lude <stdio .h> on int main void causes the int fahrenheit celsius, Note printf "Enter temper ature in fahrenheit scanf &fahrenheit celsius (fahrenheit Note 2 m to verify printf nsd in Fahrenheit %d in Celsi ius \n" derstanding. fahrenheit celsius as type int return 0; valuate the fol- vour system: The function main has two variables of type int declared The variable fahrenheit 18 initialized by a call to scanf) to input its value The Celsius temperature IS calculated and displayed the gram in C that of Note 1: The variables In or ...