Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
my first matrix addition
//gcc 5.4.0 #include <stdio.h> int main(void) { const int n=2; const int m=2; int a[3][3]={{1,1,1},{2,2,2},{3,3,3}}; int b[3][3]={{1,1,1},{2,2,2},{3,3,3}}; int c[3][3]={{0,0,0},{0,0,0},{0,0,0}}; int i,j; for(i=0;i<=n;i++){ for(j=0;j<=m;j++){ c[i][j]=a[i][j]+b[i][j]; printf("%d ",c[i][j]); if(j==m) printf("\n"); } } return(0); }
run
|
edit
|
history
|
help
0
Ahora si?
Euclides MIRAR
My first 2D array
SOLUCION EJERCICIO SPOTIFY
Camping
coding!!Woo!!
upper case letter.c
Area & Perimeter of Circle
A_141117_Primo01
Project 3 Part 1 v2