Question: Question 5 The table below shows the road tax payment charged by the government based on category of year registered and the engine capacity (cc)

Question 5 The table below shows the road tax payment charged by the government based on category of year registered and the engine capacity (cc) of the car: Category of the Car Year Registered Engine Capacity (cc) Road Tax (RM) 1000 or less 50.00 A 1995 or earlier 1001 - 2000 70.00 More than 2000 90.00 1500 or less 150.00 B 1996 or later More than 1500 300.00 Write a complete C++ program to do the following: Read the category, year registered and cc of each car. Count and display the number of cars according to category and cc. Calculate and display the total payment of road tax according to each category and cc of the car Repeat the process until the user enters 'Xfor the category of a car to quit from the program. Your program should be able to detect any invalid input for the category of a car by displaying an appropriate error message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
