fork download
  1. #include <iostream>
  2. #include <algorithm>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. double a = 33;
  8. double b = -2;
  9. const double c = 12;
  10. cout << max({a,b,c}) << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5392KB
stdin
Standard input is empty
stdout
33