@PaulRB not quite, as C/C++ has short circuit evaluation.
If c_1 triggers the execution of the body, c_2 may well be true but did not pass the if statement.
bool c_1 = condition_1;
bool c_2 = condition_2;
bool c_3 = condition_3;
if (c_1 || c_2 || c_3){
if (c_1) Serial.println("1st condition passed the if statement");
else if (c_2) Serial.println("2nd condition passed the if statement");
else if (c_3) Serial.println("3rd condition passed the if statement");
}
a7