fork download
  1. #include <stdio.h>
  2. int main(void) { for (int x = 9; x > 0; x--) printf("%.*s%.*s\n", 9 - x, " ", x * 2 - 1, "*****************"); }
  3.  
  4. //https://pt.stackoverflow.com/q/136861/101
Success #stdin #stdout 0s 4272KB
stdin
Standard input is empty
stdout
*****************
 ***************
  *************
   ***********
    *********
     *******
      *****
       ***
        *