There is a macro for that: #define highestNum max(numA, max(numB, max(numC, numD)))
#define highestNum max(numA, max(numB, max(numC, numD)))