Computer Science, asked by madhusahni, 1 year ago

for statement is always used along with the ...... statement.

Attachments:

Answers

Answered by vinumesh
54
1.for next
2. Intial
3. Step
4. Final
5. Control
Answered by vishakasaxenasl
1

Answer:

for statement is always used along with the NEXT statement.

Explanation:

  • for statement is useful in those cases where we want to repeat a certain number of statements again and again.
  • So rather than writing them again and again, we put them in a loop called FOR LOOP.
  • This for loop will repeat the statement with respect to the Next statement.
  • The next statement tells the compiler how many times loops will continue to execute.
  • Without the next statement, the compiler could not figure out after how many times the loop should terminate.
  • In that case, your loop will enter into an infinite loop that will execute continuously until your resources are exhausted.
  • So for statement is always used along with the NEXT statement.

#SPJ3

Similar questions