khoob study

Saturday, November 12, 2022

Looping statement in c language

                    Looping statement in c language

#Looping statement :-  Loping statement are those statement , which perform a particular task again and again while specific conditions is true a specific number of time . Thore are basically two type of looping statement .

1. Counter control loop

2. Conditional control loop 

EXAMPLE:-

#include<iostream.h>

#include<conio.h>

void main()

{

clrscr();

for(int i=0; i<10; i++)

{

count<<i<<"  ";

}

getch();

}


Thank you for reading...... 



1 comment: