Dear All,
I am trying to make in C++ an if-condition where IF the condition is met, the condition still has to be tested for not meeting other conditions.
Example: If Phil is older than 30, AND is NOT older than 40, and does not have brown hairs and is not taller than 5 feet and does not live in New York… then the condition will be returning TRUE.
I tried many things and noticed that, by me, only the first IF is met, but the other conditions are skipped.
Thanks for your help.