Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Pattern 13
//gcc 5.4.0 #include <stdio.h> int main() { int i,j,k; for(i=1;i<=4;i++) { k=i; for(j=1;j<=7;j++) { if(j>=5-i && j<=3+i) { printf("%d",k); j<4?k++:k--; } else { printf(" "); } } printf("\n"); } return 0; }
run
|
edit
|
history
|
help
0
Critical Openmp Example
1/23/2017
a weird way to print hello, world! hmm...
Spring 2017 Project 2 v1.2
base
++i vs i++
Lab 8 part 2 v.07
a
Undefined behavior
bitwise manipulation