WAP to print first 10 natural numbers
Answers
Answered by
1
Answer:
"C program to print first 10 Natural Numbers"
#include<stdio.h>
#include<conio.h>
void main()
{
int i=1;
while( i<=10 )
{
printf("%d",i);
i++;
}
}
OUTPUT:
1 2 3 4 5 6 7 8 9 10
Answered by
0
Answer:
CLS
LET I = 1
DO UNTIL I = 11
PRINT I
I = I + 1
LOOP
END
OUTPUT
1
2
3
4
5
6
7
8
9
10
Similar questions