write a c program to print the following output using nested for loop.
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
Answers
Answered by
0
Answer:
include <stdio.h> void main() { int i; printf("The first 10 natural numbers are:\n"); for (i=1;i<=10;i++) { printf("%d ",i); } printf("\n"); }
Similar questions