Computers and Technology, 05.12.2019 18:31, rustalex6045
Write a program to read data stored in "water. txt", which was created in problem 1. calculate water charge for each customer. residential customers pay $0.005 per gallon for the first 6000 gallons. if the usage is more than 6000 gallons, the rate will be $0.007 per gallon after the first 6000 gallons. business customers pay $0.006 per gallon for the first 8000 gallons. if the usage is more than 8000 gallons, the rate will be $0.008 per gallon after the first 8000 gallons. display account number and water charge of each customer on computer screen.
the following is an example.
account number: 3147 water charge: $5.0
account number: 2168 water charge: $30.02
account number: 5984 water charge: $12.00
account number: 7086 water charge: $48.02
Answers: 3
Computers and Technology, 10.09.2019 18:10, aesmithswhs
Answers: 1
Computers and Technology, 10.10.2019 00:30, wolfking800
Answers: 2
Computers and Technology, 10.11.2019 05:31, any71
Answers: 1
Engineering, 12.12.2019 03:31, GiselNeedsHelp101
Answers: 3
Write a program to read data stored in "water. txt", which was created in problem 1. calculate water...