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