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