fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. bool flipped=false;
  7.  
  8. int pay=500;
  9.  
  10. if(pay > 400){
  11. flipped=true;
  12. }
  13.  
  14. if(flipped){
  15. pay=400;
  16. flipped =false;
  17. }
  18.  
  19. string str="";
  20.  
  21. //cout << "Enter a value: ";
  22. //int value;
  23. //cin >> value;
  24.  
  25. //cout << "Enter a sentence: ";
  26. //getline(cin,str);
  27.  
  28. //cout << str;
  29.  
  30.  
  31. //false = 0
  32. //true = 1
  33. //if(true) //Will always happen
  34.  
  35.  
  36. return 0;
  37. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty