Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Matrix multiplication. C
//gcc 5.4.0 #include<stdio.h> int main() { int i,j,k,a[2][2]={1,2,5,3,4,4},b[3][3]={1,1,1,5,6,1},c[3][3]; for(i=0;i<3;i++) { for(j=0;j<3;j++) { c[3][3]=0; for(k=0;k<3;k++) { c[i][j]=c[i][j]+a[i][k]*b[k][j]; } } } printf("MatrixMultiplication\n"); for(i=0;i<3;i++) { for(j=0;j<3;j++) { printf("%10d",c[i][j]); } printf("\n"); } return 0; }
run
|
edit
|
history
|
help
1
150108_recursividadFactorial
If then price calculation v1
++i vs i++
problem4 review fundamentos
Practice flipping the stars
a1
REGISTRO EN C
Poiter minus
json formatter
CPTTRN_2