subject

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

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:30, nickddj12
Kyle, a receptionist for a building supply company, recently won an award for saving his company money on their phone system. after being presented with kyle's research, the company changed the way in which it made long-distance phone calls and cut their expenses in this area by 75 percent. the new system the kyle's company most likely adopted was wired communications switching stations voip hdtv
Answers: 3
image
Computers and Technology, 22.06.2019 21:00, bryanatwin1536
Describir textbook icon_person mira los dibujos y describe lo que está pasando. usa los verbos de la lista.
Answers: 1
image
Computers and Technology, 23.06.2019 02:30, jalaholmes2027
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
image
Computers and Technology, 23.06.2019 06:30, wwesuplexcity28
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
You know the right answer?
Write a program to read data stored in "water. txt", which was created in problem 1. calculate water...

Questions in other subjects:

Konu
Mathematics, 21.11.2019 02:31
Konu
Mathematics, 21.11.2019 02:31