Question: Consider carefully the program fragment below: if (age < 13 && age > 19) cout < < You are not a teenager ; Which of
Consider carefully the program fragment below:
if (age < 13 && age > 19) cout << "You are not a teenager ";
Which of the following statements is/are true about it?
| It will never print "You are not a teenager "; there is a logic operator error |
| It will only print "You are not a teenager " if age is not between 13 and 19 (inclusive) |
| It does not cover the ages of 13 and 19, but it should |
| The statement has a syntax error. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
