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