fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int numero;
  7. int contador;
  8.  
  9. numero = 10;
  10.  
  11. for (contador=1; contador<=numero; contador = contador+1){
  12. cout << contador << "\n";
  13.  
  14. }
  15. // your code goes here
  16. return 0;
  17. }
Success #stdin #stdout 0s 16048KB
stdin
Standard input is empty
stdout
1
2
3
4
5
6
7
8
9
10