Menu

[solved] – Question 99416

Write multiple if statements:
If carYear is before 1968, print “Probably has few safety features.” (without quotes).
If after 1971, print “Probably has head rests.”.
If after 1990, print “Probably has anti-lock brakes.”.
If after 2002, print “Probably has tire-pressure monitor.”.
End each phrase with period and newline. Ex: carYear = 1995 prints:
Probably has head rests.
Probably has anti-lock brakes.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *