You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(a<=0 || b<=0 || c<=0) ? printf("The numbers entered are wrong enter positive numbers\n"): (a>b && a>c) ? printf("The largest number is %d\n",a):(b>a && b>c) ? printf("The largest number is %d\n", b): (c>a && c>b) ? printf("The largest number is %d\n", c): 1 ;
(a<b && a<c) ? printf("The smallest number is %d \nthe average is %f\n", a, f): (b<c && b<a) ? printf("The smallest number is %d \nthe average is %f\n", b,f): (c<a && c<b) ? printf("The smallest number is %d \nthe average is %f\n", c, f): 1 ;