Write a C++ program for an automobile workshop to check a vehicle’s engine condition. The program asks a workshop user to enter the following details. 1- Vehicle make and model e.g. Ford, Focus 2- Vehicle horsepower e.g. from (1.0 CC to 5.0 CC), workshop does not in checking cars with horsepower more than 5.0 CC. 3- Vehicle milage per liter fuel e.g. 10KM/L 4- Vehicle temperature gauge reading 0 to 180 5- Vehicle check engine light indication (on/off) You are required to validate the user input and display a proper message if a user enters a wrong input. The program checks and displays make and model of vehicle and engine condition of vehicle based on the following criteria: Engine is in Good condition if: 1- Vehicle horsepower 1.0 CC to 1.4 CC and car’s milage per liter is 12 KM/L or above, or car’s horsepower is 1.5 CC to 2.5 CC and car’s milage per liter is 10 KM/L or above, or car’s horsepower is over 2.5 to 5.0 and car’s milage per liter 8 KM/L. 2- Vehicle temperature gauge reading is between 60 to 90. 3- Vehicle engine check light indicator is off. Engine needs tuning if: 1- Vehicle horsepower 1.0 CC to 1.4 CC and Car’s milage per liter is less than 10 KM/L or car’s horsepower is 1.5 CC to 2.5 CC and car’s milage per liter is less than 6 KM/L or above, or car’s horsepower is over 2.5 to 5.0 and car’s milage per liter is less than 4 KM/L 2- Vehicle temperature gauge reading is between 60 to 120. 3- Vehicle engine check light indicator is off Engine Needs overhaul if: 1- Vehicle temperature gauge reading is above 120 and 2- Vehicle engine check light indicator is on

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Write a C++ program for an automobile workshop to check a vehicle’s
engine condition.
The program asks a workshop user to enter the following details.
1- Vehicle make and model e.g. Ford, Focus
2- Vehicle horsepower e.g. from (1.0 CC to 5.0 CC), workshop does not in
checking cars with horsepower more than 5.0 CC.
3- Vehicle milage per liter fuel e.g. 10KM/L
4- Vehicle temperature gauge reading 0 to 180
5- Vehicle check engine light indication (on/off)
You are required to validate the user input and display a proper message if a user enters a wrong input.
The program checks and displays make and model of vehicle and engine condition of vehicle based on the following criteria:
Engine is in Good condition if:
1- Vehicle horsepower 1.0 CC to 1.4 CC and car’s milage per liter is 12 KM/L or above, or car’s horsepower is 1.5 CC to 2.5 CC and car’s milage per liter is 10 KM/L or above, or car’s horsepower is over 2.5 to 5.0 and car’s milage per liter 8 KM/L.
2- Vehicle temperature gauge reading is between 60 to 90.
3- Vehicle engine check light indicator is off.
Engine needs tuning if:
1- Vehicle horsepower 1.0 CC to 1.4 CC and Car’s milage per liter is less than 10 KM/L or car’s horsepower is 1.5 CC to 2.5 CC and car’s milage per liter is less than 6 KM/L or above, or car’s horsepower is over 2.5 to 5.0 and car’s milage per liter is less than 4 KM/L
2- Vehicle temperature gauge reading is between 60 to 120.
3- Vehicle engine check light indicator is off Engine Needs overhaul if:
1- Vehicle temperature gauge reading is above 120 and
2- Vehicle engine check light indicator is on

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY