Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
No Pyramid toggle
#include<stdio.h> int main() { int i,j; char k; for (i=1;i<=5;i++) { k=i; for(j=1;j<=9;j++) { if(j>5-i&&j<5+i&&k) { printf("%2d", k); j<5?k++:k--; } else { printf(" "); if(j==5) k--; } } printf("\n"); } return 0; }
run
|
edit
|
history
|
help
0
linear hybrid cellular automaton reversible random bit generator stream cipher
printing float 3 pointers
Eee
sort_using_pointers.c
19_1
B_141125_MenorMayor
poist
ponyerb orange panther
multi dimension sum
RSA Algo