Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
- int main(void)
- {
- int i,j;
- int no[10][10];
- no[1][1]=25;
- no[1][2]=30;
- no[1][3]=35;
- no[1][4]=40;
- no[1][5]=45;
- no[2][1]=5;
- no[2][2]=10;
- no[2][3]=15;
- no[2][4]=20;
- no[2][5]=25;
- no[3][1]=1;
- no[3][2]=2;
- no[3][3]=3;
- no[3][4]=4;
- no[3][5]=5;
- no[4][1]=6;
- no[4][2]=7;
- no[4][3]=8;
- no[4][4]=9;
- no[4][5]=10;
- for (i=1;i<=4;i++)
- {
- for(j=1;j<=5;j++)
- printf("%d, ",no[i][j]);
- printf("\n===========================================\n");
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment