Kırık Link Bildir! #138946 09-11-2006 11:25 GMT-1 saat
Kod:
#include<stdio.h>
#include<conio.h>
int matrisa[3][3]={5,2,7,4,9,6,7,4,1};
int matrisb[3][3]={6,7,4,9,8,2,3,4,9};
int carpmatris[3][3]={0,0,0,0,0,0,0,0,0};
int i,j;
int main(){
clrscr();
for (i=0;i<3;i++){
for (j=0;j<3;j++){
carpmatris[i][j]=matrisa[i][j]*matrisb[i][j];
}
}
for (i=0;i<3;i++){
for (j=0;j<3;j++){
printf("%d ",carpmatris[i][j]);
}
printf("\n\n\n");
}
getch();
}