Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int A[4][4];
  6.  
  7. for (int row = 0; row < 4; row++) {
  8. for (int column = 0; column < 4; column++) {
  9. scanf("%d", &A[row][column]);
  10. }
  11. }
  12.  
  13. for (int row = 0; row < 4; row++) {
  14. for (int column = 0; column < 4; column++) {
  15. printf("%d ", A[row][column]);
  16. }
  17. printf("\n");
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement