Your company, Vuli Pty Ltd, was recently engaged by a water utility to develop a program for
Question:
Your company, Vuli Pty Ltd, was recently engaged by a water utility to develop a program for a system that calculates a customer's monthly water usage bill using the tariffs set forth in Table 1 and Table 2. The total amount due is equal to the cost of portable water plus the cost of wastewater.
Notes
➢ The first 5 kl are exempt from VAT for domestic consumers only.
Below is an example of how the program in action could look like
Sample Input
Please enter name, plot number, and location
Kgosi Kgosi 20159 Gaborone
Enter the amount of water you have used in kilo litres
4
Choose
- Domestic User:
- Commercial/Industrial
(This feature should be implemented using a SWITCH statement)
Sample Output
Name: Kgosi Kgosi Plot 20159 Monthly Bill
Portable Water Used:
Portable Water Cost:
Waste water Cost:
VAT:
Total amount:
Draw a FLOWCHART for the system. The program should output the results to both, the screen, and a text file.