Question: |||| !!! 11:29 An automobile system generates warning and error codes if any fault develops during the run time. The system is designed in such
|||| !!! 11:29 An automobile system generates warning and error codes if any fault develops during the run time. The system is designed in such a way to generate the following code to represent the operating state as shown in the table below, Test Develop a C++ program that prompts the user to enter one among the above code and store it in a variable named "Read_Code". Then, check the code and display the operating state according to the table shown above. If user input is not listed in the table, then display a warning message as a "Incorrect input". Use example output for print format. For example: Brake Failure Generated Code Normal Operation 100 Incorrect input Time left 1:34:51 1 100 125 150 175 Input Result 125 250 Enter one among 1. 100 2. 125 3. 150 4. 175 Normal Operatio Enter one among 1. 100 2. 125 3. 150 4. 175 Brake Failure Enter one among 1. 100 2. 125 3. 150 4. 175 Incorrect input Answer: (penalty regime: 0 %) 5G moodle.polytechnic.bh Operating State Normal Operation Brake Failure Low Oil Level
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
