home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_02 / 083.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-09  |  591KB  |  2550x3300
Labels: book | daybook | poster | reckoner | shelf
OCR: Relational Operators and Expressions Synopsis Displays va ues of relat onal express ons Obj ective To illustrate that relat ional expressi ions are given the va lues of for true and 0 for false Inc .ude Files #incl lude <stdio. .h> int main( void int Note 1 The relational printf( "The value of 0 is %d. sa. pri intf( "The value of printf "The value of printf "The value of >= Note 2 printf( "The value of (2*x 3 printf( "The value of (25 (2*x) value of the return 0; if x is not 3 This program has single function, main One variable named X of type int declared The remainder of 'the program consists of displaying the decimal values of expressions involving in conjunction with relational expressions Note 1: In each of the printf calls, the expression with the relational opera- operator tor is im ...