Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ytre
//gcc 5.4.0 #include <stdio.h> int main(void) { printf("Hello, world!\n"); return 0; }https://play.google.com/store/apps/details?id=vrpatel0018.cprograms /*Addition of two matrix*/ /*Use of Two-Dimensional array*/ #include<stdio.h> int main() { int a[3][3],b[3][3],c[3][3],i,j; //declaration of Two-Dimensional array printf("Enter element of first matrix are\n"); for(i=0;i<3;i++){ for(j=0;j<3;j++){ scanf("%d",&a[i][j]); } } printf("Enter element of second matrix are\n"); for(i=0;i<3;i++){ for(j=0;j<3;j++){ scanf("%d",&b[i][j]); } } for(i=0;i<3;i++){ for(j=0;j<3;j++){ c[i][j]=a[i][j]+b[i][j]; } } printf("Additiion of two matrix is as follow:\n"); for(i=0;i<3;i++){ printf("\n"); for(j=0;j<3;j++){ printf("\t%d",c[i][j]); } } }
run
|
edit
|
history
|
help
0
gcc compiler code for delay
HW4e5
Fibonacci multiplos de 3 y menores que 30
B_141121_factorial02
Lior Yehieli Lesson
2017_1117_TARTAGLIA
Mutex Safe
project menu
loop
Busqueda binaria version iterativa