A new term Loop
In programming languages loop is used for repetitive execution of statements for certain conditions.
Basically three types of loops are available :
In programming languages loop is used for repetitive execution of statements for certain conditions.
Basically three types of loops are available :
- For loop
- While loop
- Do-While loop
Complete tutorial on loops and break and continue here
In below program we are using for loop to generate counting of 1 to 10, easiest program to understand concept of loop: