Question: Can someone please help me explain what I am doing wrong? Write multiple if statements: If carYear is before 1967 print Probably has few safety

Can someone please help me explain what I am doing wrong? Can someone please help me explain what I am doing wrong? Write

Write multiple if statements: If carYear is before 1967 print "Probably has few safety features." (without quotes) If after 1971, print "Probably has seat belts." If after 1992, print "Probably has electronic stability control." If after 2000, print "Probably has tire-pressure monitor.". End each phrase with period and newline. Ex: carYear = 1995 prints: Probably has seat belts. Probably has electronic stability control. 1 #include 2 using namespace std; 3 4 int main() { 5 int carYear; 6 7 cin >> carYear; 8 if (carYear 1967) 91 10 cout 12 else if (carYear > 1969) 13 14 cout 1992) 17 1 18 cout 2000) 211 22 cout

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 Databases Questions!