fork download
  1. #include <iostream>
  2. using namespace std;
  3. int i,j;
  4.  
  5. int main() {
  6.  
  7. for (int i = 10; i >= 1; i--)
  8. {
  9. for (int j = 1; j <= i; j++)
  10. cout << "*";
  11. cout << endl;
  12. }
  13. // your code goes here
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
**********
*********
********
*******
******
*****
****
***
**
*