Question: car _ year is read from input. Write multiple if statements: If car _ year is before 1 9 6 7 , output 'Probably has

car_year is read from input. Write multiple if statements:
If car_year is before 1967, output 'Probably has few safety features.'
If car_year is after 1971, output 'Probably has head rests.'
If car_year is after 1992, output 'Probably has anti-lock brakes.'
If car_year is after 2002, output 'Probably has airbags.'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!