50.1k views
6 votes
Var grades = 88;

for(var i=0; i < 100; i++){

grades++;

}
How many times does this loop iterate?

1 Answer

13 votes

Answer:

100 times

Step-by-step explanation:

first value of i in the loop is 0. Last value is 99. So loop never iterates with i at 100.

User Javier Salmeron
by
4.1k points