Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int i, j, mat[2][2];
- printf("Entre com quatro elementos: \n");
- for(i = 0; i < 2; i++){
- for(j = 0; j < 2; j++){
- scanf("%d",&mat[i][j]);
- }
- }
- for(i = 0; i < 2; i++){
- printf("\n");
- for(j = 0; j < 2; j++){
- printf("%d\t", mat[i][j]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement