There are two int variables: a and b ,don't use "if","?:","switch" or other judgement statements, find out of the two numbers.
(( a + b) + abs( a - b)) / 2
There are two int variables: a and b ,don't use "if","?:","switch" or other judgement statements, find out of the two numbers.
(( a + b) + abs( a - b)) / 2