#include<stdio.h>
#include<conio.h>
main(){
int sah[3][3];
printf("Unesi te elemente matrice 3x3\n");
for (int i=0;i<3;i++){
for (int j=0;j<3;j++){
printf("sah[%d][%d]=",i,j);scanf("%d",&sah[i][j]);printf("\n");
}
}
printf("Ispis elemenata matrice \n");
for (int m=0;m<3;m++){
for (int n=0;n<3;n++){
printf("sah[%d][%d]=%d \n",m,n,sah[m][n]);
}
}
getch() ;
}
#include<conio.h>
main(){
int sah[3][3];
printf("Unesi te elemente matrice 3x3\n");
for (int i=0;i<3;i++){
for (int j=0;j<3;j++){
printf("sah[%d][%d]=",i,j);scanf("%d",&sah[i][j]);printf("\n");
}
}
printf("Ispis elemenata matrice \n");
for (int m=0;m<3;m++){
for (int n=0;n<3;n++){
printf("sah[%d][%d]=%d \n",m,n,sah[m][n]);
}
}
getch() ;
}
No comments:
Post a Comment