GridWorld case study
Consider the following code segment.
return (testAverage >= 90) ||
(testAverage >= 75 && assignmentsCompleted >= 4);
What is printed as a result of executing the code segment?
A) 0 2 1 0 2
B) 0 2 0 2 0 2
C) 0 2 1 0 2 1 0
D) 0 2 0 2 0 2 0
E) 0 1 2 1 2 1 2