*visibility*

Which of the following statements is true?

1. When a = 5 the value of a % 2 is same as a – 4

2. When a = 3 the value of a * 3 * 3 is greater than ( a + 10 ) * 3

3. When a = 7 the value of a * 7 * 3 is greater than ( a * a + 7 * a + 3 )

All of them

1 and 3

1 only

2 and 3

Statement 1: a = 5. a % 2 = 5 % 2 = 1anda - 4 = 5 - 4 = 1. Both values are equal. So statement 1 is true.

Statement 2: a = 3. a * 3 * 3 = 27 and ( a + 10 ) * 3 = ( 3 + 10 ) * 3 = 13 * 3 = 39. But 27 is not greater than 39. So statement 2 is false.

Statement 3: a = 7. a * 7 * 3 = 147 and ( a * a + 7 * a + 3 ) = ( 7 * 7 + 7 * 7 + 3 ) = ( 49 + 49 + 3 ) = 101. 147 is greater than 101. So statement 3 is true.

**Extra Tip**: Operator Precedence (highest to lowest)

* / % left to right (associativity)

+ - left to right (associativity)