Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

calculate max of three numbers using ternary operator in c

big = a > b ? ( a > c ? a : c) : (b > c ? b : c) ;
 
PREVIOUS NEXT
Tagged: #calculate #max #numbers #ternary #operator
ADD COMMENT
Topic
Name
6+1 =