Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int N[5][5],i,j,sum=0,r,c;
- for(r=0;r<4;r++)
- {
- for(c=0;c<4;c++)
- {
- scanf("%d",&N[r][c]);
- }
- }
- sum=(N[1][2]+N[2][4]+N[4][3]+N[1][3]);
- printf("%d",sum);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement