Question: Write multiple if statements. If car_year is 1969 or earlier, print Few safety features. If 1970 or later, print Probably has seat belts. If 1990
Write multiple if statements. If car_year is 1969 or earlier, print "Few safety features." If 1970 or later, print "Probably has seat belts." If 1990 or later, print "Probably has antilock brakes." If 2000 or later, print "Probably has airbags." End each phrase with a period and a newline.
Sample output for input: 1995
Probably has seat belts. Probably has antilock brakes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
