printing natural number means printing of 1 2 3 4 5........................................... Program #include<stdio.h> main() { int i,j; for(i=1;i<=10;i++) { for(j=i;j<=90+i;j+=10){ printf("%d ",j); } printf("\n"); } return 0; } Output screenshot for natural number between 1 to 100
No comments