program about do while loop

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

Comments

Popular posts from this blog

turbo c++ 3.2