fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int i = 1, k = i & 0;
  8.  
  9. do {
  10. k++;
  11. if(k > 1)
  12. i = k;
  13. } while(i < 2);
  14.  
  15. cout << k;
  16. }
  17.  
  18.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
2