You want to loop through a block of code 10 times using the for loop. What would accomplish this?

  1. For (i = 0; i < 10; i--)

  2. For (i = 1; i < 10; i--)

  3. For (i = 1; i < 10; i++)

  4. For (i = 1; i <= 10; i++)


Correct Option: D

Find more quizzes: