Using only standard math operators (+, -, *, /) and functions (absolute value, square root, powers, and so on), give a function that calculates MAX(A,B,C).
Alternate version, for programmers only: using any language (BASIC, C, Excel, whatever) find the maximum of A, B, and C, but be careful when writing the program, because you cannot use the ">" key, for it's broken (thus writing things like IF A>B is impossible...) and you cannot use the "M" key either, for it's also broken (...and writing H=MAX(A,B) is also not possible.)
(In reply to Solution
by Brian Wainscott)
What about this solution:
This solution works in C or C++, but not for any programming language where using boolean expressions as values is illegal.
Posted by Mike
on 2004-11-20 22:09:01