Saturday 4 April 2020

Loops and Iteration in C++


What are the Loops in C++? 
Loops in C++  allow a set of instructions to be performed until a certain condition is reached. Or Loops have as objective to repeat a statement a certain number of times or while a condition is fulfilled. There are three types of loops in C++:
1.         for loop
2.         while loop
3.         do-while loop


Loop in C++


No comments:

Post a Comment