fork download
  1. #include <stdio.h>
  2. double min (double, double);
  3.  
  4. int main(void) {
  5. double a,b,c;
  6. a=0.2;
  7. b=1.7;
  8. c=min(a,b);
  9. printf("%f",c);
  10. }
  11. double min (double a,double b){
  12. return (a>b)?b:a;
  13. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
0.200000