Complete the code to compare if a is greater than b.
if (a [1] b) { printf("a is greater than b\n"); }
The '>' operator checks if the left value is greater than the right value.
Complete the code to check if x is not equal to y.
if (x [1] y) { printf("x and y are different\n"); }
The '!=' operator checks if two values are not equal.
Fix the error in the condition to check if num is less than or equal to 100.
if (num [1] 100) { printf("num is 100 or less\n"); }
The '<=' operator checks if the left value is less than or equal to the right value.
Fill both blanks to create a condition that checks if value is between 10 and 20 inclusive.
if (value [1] 10 && value [2] 20) { printf("value is between 10 and 20\n"); }
The condition uses '>=' to check value is at least 10, and '<=' to check it is at most 20.
Fill all three blanks to create a condition that checks if score is greater than 50 and less than 100.
if (score [1] 50 && score [2] 100 && score [3] 75) { printf("score is between 51 and 99 and greater than 75\n"); }
The first '{{BLANK_1}}' uses '>' to check score is more than 50 (not equal). The second '{{BLANK_2}}' uses '<' to check score is less than 100. The third '{{BLANK_3}}' uses '>' to check score is greater than 75.