C++ Coding Practice #3

Today's C++ coding practice is to find the maximum and minimum of two numbers without using any loop or condition.

The Code

Here's the implementation I whipped out in under 5 minutes:

You can compile and run this code with the following commandline:

Dev Notes

Explore More