Answer :
Answer:
The answer is "Option a".
Explanation:
In this question, option (I) is correct because it uses the if condition block, that declares three variable that is "bonusOne, bonusTwo, and bonusThree", in which it uses the AND logic gate that checks the condition and add value 5 in grade variable, and other choices were wrong which can be defined as follows:
- In option II, it uses the OR operator, when each of the variable value is "true" it will add value 5 in grade variable that's why it's wrong.
- In option III, it uses multiple conditions to check the variable value and add value 5 in the wrong grade variable.