fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. cout << "*" << endl;
  7. cout << "**" << endl;
  8. cout << "***" << endl;
  9. cout << "****" << endl;
  10. cout << "*****" << endl;
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 2728KB
stdin
Standard input is empty
stdout
*
**
***
****
*****