/**/ #include #include int main () { int a, b, c; printf("Please enter 3 numbers separated by spaces > "); scanf("%d%d%d", &a, &b, &c); if ((a==b)||(a==c)){ printf("%d is the median\n",a); return 0;} if (b==c){ printf("%d is the median\n",b); return 0;} if((ab)) printf("%d is the median\n", a); else if((ac)) printf("%d is the median\n", a); if((bc)) printf("%d is the median\n", b); else if((b>a)&&(ba)&&(cb)) printf("%d is the median\n", c); return 0; }