QUESTION 3 Which of the following for loop headers will cause the body of the loop to be executed 100 times? a. for(int i = 0; i <= 100; i++) b. for(int i = 1; i < 100; i++) c. for(int i = 1; i <= 101; i++) d. for(int i = 0; i < 100; i++) e. none of these for loops will execute the loop body 100 times

Respuesta :

Answer: a

Explanation:

for(int i = 1; i <= 100; i++)

means the execution start from 1 that is i=1 and execution will stop at 100 dot.

the loop will test the statement, if the statement is true it will execute and go to the next(that is increment by 1).

Answer:

0 + 10i

Explanation:

just did it on edge 2020