6. Decision Making: Equality and Relational Operators
{"Image DocumentName": "6. Decision Making: Equality and Relational Operators", "Image ImageDescription": "1 /  Fig. 2.13: fig02_13.c. 2 Using if statements, relational. 3 operators, and equality operators  / 4 #include <stdio.h> 5. 6 int main() 7 { 8 int num1, num2; printf( Enter two integers, and I will tell you\\n ); 11 printf( the relationships they satisfy: ); 12 scanf( %d%d , &num1, &num2 ); /  read two integers  / if ( num1 == num2 ) 15 printf( %d is equal to %d\\n , num1, num2 ); if ( num1 != num2 ) 18 printf( %d is not equal to %d\\n , num1, num2 ); if ( num1 < num2 ) 21 printf( %d is less than %d\\n , num1, num2 ); if ( num1 > num2 ) 24 printf( %d is greater than %d\\n , num1, num2 ); if ( num1 <= num2 ) 27 printf( %d is less than or equal to %d\\n , 28 num1, num2 ); 1. Declare variables. 2. Input. 2.1 if statements. 3. Print.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}