fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. cout << " * " << endl;
  7. cout << " *** " << endl;
  8. cout << " ***** " << endl;
  9. cout << "*********************" << endl;
  10. cout << " *************** " << endl;
  11. cout << " *********** " << endl;
  12. cout << " ********* " << endl;
  13. cout << " *********** " << endl;
  14. cout << " **** **** " << endl;
  15. cout << " ** ** " << endl;
  16. return 0;
  17. }
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
          *          
         ***         
        *****        
*********************
   ***************   
     ***********     
      *********      
     ***********     
    ****     ****    
   **           **