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