Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
sume of diagonal v.1
//gcc 5.4.0 #include <stdio.h> int main(void) { int A[3][3]={{1,1,1},{2,2,2},{3,3,3}}; int n=3; int sum,x=0,y=0; for(int i=0;i<n;i++){ sum=A[x][y]+sum; ++x; ++y; } printf("sum=%d\n",sum); return 0; }
run
|
edit
|
history
|
help
0
C_141106_Divisores
치카냥3
bitmask
MÓDULO 3, PREGUNTA 1, GUÍA 4
No Pyramid toggle
test
advanced string manipulation
B_141121_fibonacci
sizeof human
Star 1,3