Design an algorithm using pseudo code for a program that uses functions to calculate the total bill for water consumption every month. The program uses two functions. One function to read user input...



  1. Design an algorithm using pseudo code for a program that uses functions to calculate the total bill for water consumption every month. The program uses two functions. One function to read user input and another function to calculate the total bill. The information required:

    • Account number

    • Previous meter reading

    • Current meter reading

    • Standing charge which is around KES 400.00

    • Cost per unit of consumption

    • Tax which is 3% of the consumption cost.

    • Consumption is the difference between current reading and previous reading

    • Consumption cost is the sum of standing charge and the product of consumption and cost per unit of consumption.

    • Total cost of the bill is consumption cost plus the tax.





Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here