LOOP(REPITITIVE CONTROL STATEMENT)
MINAKSHI SHARMA
LOOP:-A loop in C is a control structure that allows you to execute a block of code repeatedly, either a fixed number of times or until a certain condition is met.�
Key Components of a Loop
FOR LOOP
FOR LOOP
Output
1
2
3
4
5
while LOOP
While LOOP
Output
1
2
3
4
5
Do while LOOP
While LOOP
Output
1
2
3
4
5
Difference between for,while,do while loop
Summary:
THANKS