subject

A)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. OK

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

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 00:30, bsonicx
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
image
Computers and Technology, 24.06.2019 04:30, LouieHBK
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
Answers: 1
image
Computers and Technology, 24.06.2019 09:00, king514
Technician a says that a new replacement part is always good. technician b says that sometimes recent repair work will be the cause of a complaint. who is correct? a. both technicians a and b b. technician a c. technician b d. neither technician a nor b
Answers: 3
image
Computers and Technology, 24.06.2019 14:30, yeet74
Ahousehold consists of a married couple and their twin five-year old daughters. the couples children had no income and lived with their parents all of last year. how many exemptions can the couple claim on last years tax return or they file with the “ married filing jointly “ status? a. 4 b. 5 c. 3 d. 2
Answers: 1
You know the right answer?
A)Design an algorithm using pseudo code for a program that uses functions to calculate the total bil...

Questions in other subjects: