CBSE Class 11 Informatics Practices Question 26 of 75

Conditional and Looping Constructs — Question 8

Back to all questions
8
Question

Question 8

Which statement is used to iterate itself over a range of values or a sequence?

  1. if
  2. while
  3. do-while
  4. for
Answer

for

Reason — The for loop statement is used to iterate/repeat itself over a range of values or a sequence.