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