Question: Integer carDate is read from input. Write multiple if statements: If carDate is 1 9 5 4 or later, output Probably can carry several people.
Integer carDate is read from input. Write multiple if statements:
If carDate is or later, output "Probably can carry several people."
If carDate is before then output "Probably only has a few safety features."
If carDate is after then output "Probably has seat belts."
End each output with a newline. c
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
