Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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.

Table 1: Domestic, Commercial & Industrial Portable Water Tariffs Tariff Block EXCL. VAT ICL. VAT @ 12% Category Minimum Char

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

  1. Domestic User:
  2. 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.
 

Table 1: Domestic, Commercial & Industrial Portable Water Tariffs Tariff Block EXCL. VAT ICL. VAT @ 12% Category Minimum Charge 0 0 0-5 kl 3.50 3.92 >5-15 kl 10.40 11.65 >15-25 kl 18.20 20.38 >25-40 kl 28.00 31.36 >40 kl 35.00 39.20 Table 2: Domestic, Commercial & Industrial WASTE Water Tariffs Tariff Block EXCL. VAT ICL. VAT @ 12% Category Minimum Charge 0 0 0-5 kl 0.65 0.73 >5-15 kl 1.60 2.91 >15-25 kl 3.90 4.37 >25-40 kl 5.20 5.82 >40 kl 6.50 7.28

Step by Step Solution

3.38 Rating (145 Votes )

There are 3 Steps involved in it

Step: 1

SOLUTION C CODE include file IO include TO using namespace std class BILLCALCULATOR cl... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles of Information Security

Authors: Michael E. Whitman, Herbert J. Mattord

4th Edition

978-1111138219, 1111138214, 978-1285448367

More Books

Students also viewed these Operating System questions