fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a, b;
  6. float c = 69.98;
  7. a = 10;
  8. a = int(c);
  9. b = 13;
  10.  
  11. ((a > b) ? a : b ) = 60;
  12.  
  13. cout << a << endl << b;
  14. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
60
13