fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes her
  5. int b,c,max;
  6. printf("input b,c:");
  7. scanf("%d,%d",&b,&c);
  8. if (b>c){max=b;
  9. printf("max=%d\n",max);}
  10. else {max=c;
  11. printf("max=%d\n",max);}
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5304KB
stdin
4,6
stdout
input b,c:max=6