Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
arrows
#include<stdio.h> int main() { int i,j; // Printing upper part for ( i = 1; i <= 15; i++) { for ( j = 1; j <= i; j++) printf("*"); printf("\n"); } // printing lower part for (int i = 15 - 1; i > 0; i--) { for (int j = i; j > 0; j--) printf("*"); printf("\n"); } int i1,j1; for(i1=1;i1<=15;i1++) { for(j1=i1;j1<15;j1++) printf(" "); for(j1=1;j1<=i1;j1++) printf("*"); printf("\n"); } for(i1=15;i1>=1;i1--) { for(j1=i1;j1<=15;j1++) printf(" "); for(j1=1;j1<i1;j1++) printf("*"); printf("\n"); } return 0; }
run
|
edit
|
history
|
help
0
Padding Err
json string formatter
Búsqueda binaria rec
2
K&R/1_3
first C code
Taco Code
pointer example 2
use_of_bool_in_loop
Float ispis