Wednesday, 9 April 2014

write c++ program that display counting from 1 to 10


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include<iostream.h>
#include<conio.h>
void main(){
clrscr();
int n;
n=1;
while(n<=10)
{
cout<<n<<endl;
n=n+1;
}
getch();
}






OUTPUT

All Rights Reserved c++ programming