Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- main() {
- int x, y;
- int vetor[4][4];
- for(x=0; x<4; x++) {
- for(y=0; y<4; y++) {
- printf("Digite o valor da matriz:");
- scanf("%d", &vetor[x][y]);
- }
- }
- for(x=0; x<4; x++) {
- for(y=0; y<4; y++) {
- printf(" %d ", vetor[x][y]);
- }
- printf("\n");
- }
- system("pause");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement