Program to print series 1,2,3,…,10 using “while” loop..

#include<stdio.h>
#include<conio.h>
void main()
{
   int i=0;
   clrscr();
   while(i<=10)
   {
      printf("\n NUMBER=>%d",i);
   i++;
   }
getch();
}

Leave a Reply