trini10kal
trini10kal trini10kal
  • 14-01-2021
  • Computers and Technology
contestada

var grades = 88;

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

grades++;

}
How many times does this loop iterate?

Respuesta :

tonb
tonb tonb
  • 14-01-2021

Answer:

100 times

Explanation:

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

Answer Link

Otras preguntas

Why were Delaware, Maryland, Kentucky, and Missouri considered border states during the Civil War? a. because they had boundaries on the ocean b. because they
whats the difference between integrity and probity?
mario ordered a pizza for dinner when it arrived, mario quickly ate 1/8 of the pizza.while mario went to go get napkins, his pet poodle ate 1/3 of the pizza. a.
Which Renaissance writer also worked as an adviser, or courtier, to royalty?
37,123,745 what the value of the 1
How many ships did Columbus have on his second voyage in 1493? a) Five b) Nine c) Fourteen d) Seventeen
Which two governments colonized most of South America? A.Great Britain. B.Portugal. C.Spain. D.the United States.
What part of the u.s constitution lists some of the rights and liberties of the people and of the state
how did mass transit impact urban populations
is it possible for an object's weight to change while its mass remains constant? Explain