Complete the code to check if a is less than b.
bool result = a [1] b;The < operator checks if the left value is less than the right value.
Complete the code to check if x is greater than or equal to y.
if (x [1] y) { // do something }
The >= operator checks if the left value is greater than or equal to the right value.
Fix the error in the code to correctly check if num is not equal to 10.
if (num [1] 10) { // do something }
The '!=' operator checks if two values are not equal. '=' is assignment, not comparison.
Fill both blanks to create a condition that checks if val is between 5 and 15 inclusive.
if (val [1] 5 && val [2] 15) { // do something }
The condition checks if val is greater than or equal to 5 and less than or equal to 15.
Fill all three blanks to create a condition that checks if score is greater than 50, less than 100, and not equal to 75.
if (score [1] 50 && score [2] 100 && score [3] 75) { // do something }
The condition checks if score is greater than 50, less than 100, and not equal to 75.