Question: challenge activity zybook coral 2 . 1 2 . 2 : If and if - else branches. 6 0 6 3 6 2 . 4

challenge activity zybook coral
2.12.2: If and if-else branches.
606362.4209060.qx3zqy7
Write multiple if statements:
If carYear is before 1967, put "Probably has few safety features.
" to output.
If after 1971, put "Probably has seat belts.
" to output.
If after 1992, put "Probably has electronic stability control.
" to output.
If after 2001, put "Probably has airbags.
" to output.
Ex: If carYear is 1995, 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 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!