Loops in SRON
Loops are the most vital component of programming which is used to perform a set of tasks multiple times.
For example, if you want to print your name more than 10 times, then rather than writing your name 10 times, you can put it inside a loop given in SRON to perform this task.
SRON provides 3 types of Loop:
For
While
Foreach
Last updated