How do I programmatically return the maximum of two integers without using any comparison operators and without using if, else, etc?
if
else
not as snazzy as the above... but...
int getMax(int a, int b) { for(int i=0; (i