Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- int matriz[3][3];
- printf("leitura\n");
- for(int l=0;l<3;l++){
- for(int c=0;c<3;c++){
- printf("matriz[%d][%d]: ",l,c);
- scanf("%d", &matriz[l][c]);
- }
- }
- printf("Escrita \n \n");
- for(int l=0;l<3;l++){
- for(int c=0;c<3;c++){
- printf("%d ",matriz[l][c]);
- }
- printf("\n");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement