Question: Write a C++ program to do the following: 1. Enter the following car information Model . Year . Price Had an accident (Y:Yes N:No)? 2.

 Write a C++ program to do the following: 1. Enter the

Write a C++ program to do the following: 1. Enter the following car information Model . Year . Price Had an accident (Y:Yes N:No)? 2. Find the car price after 20% discount 3. If the price less than or equal 1500 and the car has no accident display "Decision: Good Deal" else display "Decision: Expensive". 4. Display the car information as shown in figure below CAUsers sxanw Documents)Untitled1.exe CAR REPAIR SHOP Enter Car Information Enter Car Model Totota Camry Enter Car Year: 203 Enter Car Price: 2100.99 Had an accident (Yes:Y No:N)? n Find price after 20% discount Price after 20 % discount is: 1688.79 Decision: Expensive Car Information Model Totota Camry Year: 2003 Price after 20% discount: 1680.79 Had an accident? No Press any key to continue

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!