ProAnswers.org

macro to find max number?

1 Like

try this …

#define MAX(a,b,c) ((a>b && a>c)?a:0 || (b>a && b>c)?b:0 || (c>a && c>b)?c:0);