fork download
  1. #include <stdio.h>
  2. main()
  3. {
  4. int i, j, k, max;
  5. scanf("%d", &i);
  6. scanf("%d", &j);
  7. scanf("%d", &k);
  8. max = (i > j)? i : j;
  9. if (k > max)
  10. max = k ;
  11. printf("%d\n", max);
  12. return 0;
  13. }
Success #stdin #stdout 0s 9424KB
stdin
3
9
5
stdout
9