Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #define N 28
- #define M 23
- int main()
- {
- int i,j,a[N][M];
- freopen("tema2_1.in","r", stdin);
- freopen("tema2bafasa1.out", "w", stdout);
- for(i=0;i<N;i++)
- {
- for(j=0;j<M;j++)
- {
- scanf("%d",&a[i][j]);
- }
- }
- for(i=0;i<N;i++)
- {
- for(j=0;j<M;j++)
- {
- printf ("%d ",a[i][j]);
- }
- printf("/n");
- }
- fclose(stdin);
- fclose(stdout);
- getchar();
- getchar();
- return 0;
- }
Add Comment
Please, Sign In to add comment