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