question archive Orialy, a maintenance vehicle company located in Jordan, has a maintenance department, and a customer service department
Subject:Computer SciencePrice: Bought3
Orialy, a maintenance vehicle company located in Jordan, has a maintenance department, and a customer service department. Write a C++ program to ask the user to enter the department number, which is: 1 for the maintenance department, and 2 for the customer service department. If the chosen department is maintenance, then ask the user to enter the cost of maintenance and calculate the TotalCost using the following information in table 1, and the following equation: TotalCost= cost of maintenance - discount * cost of maintenance. *The discount on the total cost varies depending on the cost of maintenance as follows: Cost of maintenance discount 50-100 2% 100 – 150 3% Above 150 7% If the user choice is 2, then print this sentence: “Dear customer, send us your question on Orialy@yahoo.com, and we will reply within 24 hours.” If the user’s choice is not 1 or 2, then show this message: “Invalid choice” Here are sample input/output dialogs: