write program to find the largest of three numbers using ternary operator in c code example
Example: calculate max of three numbers using ternary operator in c
big = a > b ? ( a > c ? a : c) : (b > c ? b : c) ;
big = a > b ? ( a > c ? a : c) : (b > c ? b : c) ;