Computers and Technology

Residential and business customers are paying different rates for water usage. 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. for example, a residential customer who has used 9000 gallons will pay $30 for the first 6000 gallons ($0.005 * 6000), plus $21 for the other 3000 gallons ($0.007 * 3000). the total bill will be $51. a business customer who has used 9000 gallons will pay $48 for the first 8000 gallons ($0.006 * 8000), plus $8 for the other 1000 gallons ($0.008 * 1000). the total bill will be $56. write a program to do the following. ask the user which type the customer it is and how many gallons of water have been used. calculate and display the bill.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:00, jennifer7037
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
image
Computers and Technology, 23.06.2019 16:30, isaiahhuettnerowgg8d
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
image
Computers and Technology, 23.06.2019 21:20, FlowerChild1229
For positive constants a and b, the force between two atoms in a molecule is given f(r) = −a r2 + b r3 , where r > 0 is the distance between the atoms. note: a and b are upper case letters. (a) find f '(r) = (b) find the critical point for f(r). r = (c) find f ''(r) = (d) find the value of r so that f ''(r) = 0.
Answers: 1
image
Computers and Technology, 24.06.2019 08:00, ineemorehelp
Arah has entered data about football players from team a and team b in a worksheet. she enters names of players from team a with details about each player in different columns of the worksheet. similarly, she enters details of all the players from team b. which option will her view the data for team a and team b in two separate sections after printing? a. page break view b. freeze pane view c. split screen view d. full screen view e. zoom out view
Answers: 1
Do you know the correct answer?
Residential and business customers are paying different rates for water usage. residential customers...

Questions in other subjects:

Konu
Mathematics, 19.07.2021 23:50
Konu
English, 19.07.2021 23:50