Customer Category
Home
Commercial Industrial
Tariff
The first 100 units : RM0.10 per unit The next 200 units : RM0.17 per unit Over 300 units : RM0.20 per unit The first 200 units : RM0.30 per unit The next 400 units : RM0.27 per unit Over 600 units : RM0.20 per unit The first 100 units : RM0.10 per unit Over 300 units : RM0.20 per unit
Rent (RM)
25.00
50.00 100.00
      Write a complete Java program that prompts the user to enter the following data:
• The customer name
• The customer address
• The customer category
• The units used
Then, the program will calculate the amount due and print the bill. This process will continue as many 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 CityPhone Telephone Company
Comments
Leave a comment