0
Write a program to display first 10 natural number
3 Answers
+ 17
1)run a loop from a=1 to a=10 , increment by 1 after each cycle of loop
2)print a ; //statement inside loop
+ 2
You didnt put any restrictions, so I played a bit
int i = 1;
while(cout << i++ << ',', i<= 10){}