C Program to understand while loop

      No Comments on C Program to understand while loop
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int i=1;
while(i<=10)
{
 printf("\n %d",i);

 i++;
}
getch();
}

OUTPUT:-

scanfcode

Leave a Reply

Your email address will not be published. Required fields are marked *