Answer to Question #38100 in C++ for noor-ul-ain-nasir

Question #38100
Write a C++ program that calculates and displays water bill. The water rates vary depending on the type of usage.
 A code of ‘H’ means home use,
 A code of ‘C’ means commercial use,
 A code of ‘I’ means industrial use.
Any other code value should be treated as an INVALID INPUT. Water rates are computed as follows:
Code H:
First 1 hundred gallons for $5.00 and $0.005 for each additional gallon used
Code C:
First 4 hundred gallons for$1000.00 and $0.025 for each additional gallon used
Code I:
First 4 hundred gallons for $1500 and $0.125 for each additional gallon used
1
Expert's answer
2014-01-10T13:25:01-0500
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-38100.pdf

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS