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