#include<stdio.h> #include<conio.h> void main() { int i=1; clrscr(); while(i<=10) { printf("\n%d",i); i=i+1; } getch(); }
OUTPUT
1
2
3
4
5
6
7
8
9
10
#include<stdio.h> #include<conio.h> void main() { int i=1; clrscr(); while(i<=10) { printf("\n%d",i); i=i+1; } getch(); }
OUTPUT
1
2
3
4
5
6
7
8
9
10
Copyright © All Notes on BCA