fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5.  
  6. printf(" * \n");
  7. printf(" * * \n");
  8. printf(" * * * \n");
  9. printf(" * \n");
  10. printf(" * * \n");
  11. printf(" * * * \n");
  12. printf(" * \n");
  13. printf(" * * \n");
  14. printf(" * * * \n");
  15. printf(" * \n");
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
   *    
  * *   
 * * *  
   *    
  * *   
 * * *  
   *    
  * *   
 * * *  
   *