2 conditions in if statement code example
Example 1: ifdef multiple conditions
#if defined(CONDITION1) || defined(CONDITION2)
Example 2: if statement to compare between multi data
int maxOfFive (int a, int b, int c, int d, int e) {
int largest = a;
if (b > largest) largest = b;
if (c > largest) largest = c;
if (d > largest) largest = d;
if (e > largest) largest = e;
return largest;
}