Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a) The TeeEm Telephone Company assigns you to develop a billing system based on the tariffs below Customer Category Code Rent (RM) Residential 20 25.00
a) The TeeEm Telephone Company assigns you to develop a billing system based on the tariffs below Customer Category Code Rent (RM) Residential 20 25.00 Tariff The first 100 units: RMO 10 per unit The next 200 units: RMO. 15 per unit Over 300 units: RMO 20 per unit The first 200 units: RM0.20 per unit The next 400 units: RM0.25 per unit Over 600 units: RMO 30 per unit The first 300 units: RM0.40 per unit Over 300 units: RM0.50 per unit Commercial 50.00 Industrial 1 100.00 Write a complete C++ program that prompts the user to enter the foilowing data: The customer name The customer address The customer category code The units used Then, the program will calculate the amount due and print the bill. This process will continue as many times as the user wishes and will terminate when the user requests to stop. Upon stopping the billing process, the program will generate a report that displays the following information: The total number of customers in each category The total collection in each category The total collection for the TeeEm Telephone Company (15 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started