fork(1) download
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. int a, b, max;
  5. scanf("%d,%d", &a, &b);
  6. max= a>b?a:b;
  7. printf("max = %d\n", max);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5324KB
stdin
10,9
stdout
max = 10