Question: Write multiple if statements: If carYear is before 1 9 6 7 , put Probably has few safety features. to output. If after 1
Write multiple if statements:
If carYear is before put "Probably has few safety features.
to output.
If after put "Probably has seat belts.
to output. integer carYear
Program will be tested with:
carYear Get next input
If after put "Probably has electronic stability control.
to output.
If after put "Probably has airbags.
to output.
Ex: If carYear is then output is:
Probably has seat belts. Probably has electronic stability control.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
