Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
pattern 17
//gcc 5.4.0 #include <stdio.h> int main() { int i,j; for(i=1;i<=5;i++) { for(j=1;j<=9;j++) { if(j<=6-i || j>=4+i) { printf("*"); } else { printf(" "); } } printf("\n"); } for(i=1;i<=4;i++) { for(j=1;j<=9;j++) { if(j<=i || j>=9-i) { printf("*"); } else { printf(" "); } } printf("\n"); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
a weird way to print hello, world! hmm...
B_141202_CADENA_NUMERO
ele709 3.5 finished
Collatz(3k+1)
co_assign1_ques_4
Programação em C, testes
structt
A_141125_MenorMayor2
B_141202_funcionesString
ele709 lab 3.2
Please log in to post a comment.