Answer to Question #48315 in C++ for CVar

Question #48315
1. Draw the flow chart and write the algorithm the solves the following problem: Your program should prompt the user to enter an integer account number, a character use code, and a real number representing the gallons of water used. The output from your program should include the account number, message indicating the type of usage, and the amount of money due from the user. The water rates vary depending on the type of usage. A code of H means home use, a code of C means commercial use, and a code of I means industrial use. Any other code value should be treated as an error. Water rates are computed as follows: Code H: $5.00 plus $0.005 per gallon Code C: $1000.00 for the first 4000 gallons used plus $0.025 for each additional gallon used Code I: $1000.00 if usage does not exceed 4000 gallons $2000.00 is usage is between 4000 and 10000 gallons $3000.00 is 10000 gallons or more
0
Expert's answer

Not answered

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 first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS