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