code help

What will the output of the following code be if A is true, B is false and C is false at the time these lines are executed?

if(A&&C)cout<<"Do this\";
else if(B||A)cout<<"Do that\n";
Last edited on
Why do you ask?

This looks strangely like homework, which I'm sure you know that we can only help you with, not give you an answer.

Remember this: A is equal to true.
Topic archived. No new replies allowed.