#include<stdio.h> #include<conio.h> void main() { int i,j; clrscr(); for(i=1;i<=5;i++) { for(j=1;j<=5;j++) printf("%3d",i); printf("\n"); } getch(); } |
___________________________________________________________________________
Posted by computersadda on 23:39:00 in Nested for Loop C-Programs (28 formats) | Comments : 0
#include<stdio.h> #include<conio.h> void main() { int i,j; clrscr(); for(i=1;i<=5;i++) { for(j=1;j<=5;j++) printf("%3d",i); printf("\n"); } getch(); } |
Post a Comment