While Loop Iteration Count
How many iterations does the while-loop perform?
int x = -3;
while(x < 0) {
x++;
}
A
4
B
5
C
3
D
2
Question Leaderboard
| Rank | |||||
|---|---|---|---|---|---|
| #1 | patrickmeijer009 | 1 | 1 | 0m 15s | 85 |
| #2 | raufyildirim95 | 1 | 1 | 0m 46s | 54 |
| #3 | 6test6ing6 | 0 | 2 | 0m 00s | -20 |
| #4 | richa.tuli | 1 | 1 | 2m 19s | -39 |
| #5 | lsj08030922 | 1 | 1 | 12m 45s | -665 |
Items per page:
10
1 – 5 of 5
APFIVE