fork download
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.  
  7. int a = 5;
  8. int b = 6;
  9.  
  10. if(a >= 5) {
  11.  
  12. b = 5;
  13.  
  14. }
  15.  
  16. if(b >= 6) {
  17.  
  18. a = b;
  19.  
  20. }
  21.  
  22. cout << b << ' ' << a;
  23.  
  24. return 0;
  25.  
  26. }
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
5 5