Computer Science, asked by ncertstudent35, 2 months ago

there can be any number of ___in between For And NEXT ​

Answers

Answered by 3613akshita
0

Answer:

sorry please rewrite the question

Answered by presentmoment
0

There can be any number of Exits in between For and Next.

Explanation:

It's syntax can be :

For counter [ As datatype ] = start To end [ Step step ]

   [ statements ]

   [ Continue For ]

   [ statements ]

   [ Exit For ]

   [ statements ]

Next [ counter ]

  • counter: It is the variable for controlling the loop.
  • datatype: datatype is the datatype of the counter variable.  
  • start It is the starting value of the counter.
  • end It is the ending value of the counter.
  • step: It is the value through which the value of the counter variable will increase every time in the loop.  
  • statements: There can be more than one or one statement between For and Next.
  • Continue:  continue is the keyword that transfers the control from one loop to another.  
  • Exit For: It is the keyword to exit the loop.  
  • Next: It terminates/ends the loop. It is the keyword that takes control out of the loop.
Similar questions