#include<stdio.h>
#include<conio.h>
int main()
{
int x=1;
while(x<=10)
{
printf("\n%d",x);
x++;
}
getch();
return 0;
}
#include<stdio.h>
#include<conio.h>
int main()
{
int x=1;
while(x<=10)
{
printf("\n%d",x);
x++;
}
getch();
return 0;
}
Output
1
2
3
4
5
6
7
8
9
10
0 Comments