Solved

Int Counter = 0; While (Counter < 100)

Question 26

Multiple Choice

int counter = 0; while (counter < 100)
{
Console.WriteLine(counter) ;
Counter++;
}
Looking above, if the loop body was changed from counter++; to counter += 5;, how many times would the loop body be executed?


A) 19
B) 20
C) 99
D) 100

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions