fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int vini, vfin, i;
  6. cin >> vini >> vfin;
  7. for (i=vini; i<=vfin; i++)
  8. if(i%2 == 1)cout << i << "";
  9. cout << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5292KB
stdin
5 
10
stdout
579