Original Post
Problem: Write a function which accepts two natural numbers (unsigned int) and return the maximum one. Requirement: In the function body, You may not use any comparing operation, such as <, >, ?:, if, switch, etc. In other words, Only these operators of {+, -, *, /} can be used, any other operator or function call is invalid! Who is interested in this and can solve it? unsigned int Max(unsigned int a, unsigned int b) { // Add your code here! } [Edited by - xmllmx on February 12, 2006 8:49:49 PM]