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