program about while loop

#include<conio.h>
#include<iostream.h>
void main()
{
int a=1;
clrscr();
while(a<=10)
{
cout<<"\n"<<a;
a++;
}
getch();
}

Comments

Popular posts from this blog

turbo c++ 3.2