fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. float a,b,max;
  6. scanf("%f%f",&a,&b);
  7. if(a>b) max=a;
  8. else max=b;
  9. printf("%g",max);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5328KB
stdin
97.66 2726.444
stdout
2726.44