7
AssignmentMultiple Choice

Loops–Practice with the While Loop

Question 7 • ASC Programming, Games, Apps and Society

How many times would the for loop below execute if variable times = 9 % 2? for (int x=times; x <=times; x++) ?

Answer
A
1
B
0
C
2
D
3
Previous
Next