fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a,b,c,max;
  5. printf("input a,b,c:");
  6. printf("%d,%d,%d",&a,&b,&c);
  7. if(a > b)max = a;
  8. if(a <=b)max = b;
  9. if(a < c)max = c;
  10.  
  11. printf("max = %d\n",max);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
input a,b,c:2020885740,2020885744,2020885748max = 32764