Engineering, 26.11.2019 00:31 Maaaryyss
Write a program that will calculate and print out bills for the city water company. the water rates vary, depending on whether the bill is for home use, commercial use, or industrial use. 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 should be treated as an error. the water rates are computed as follows: a. code h: $5.00 plus $ 0.0005 per gallon used
b. code c: $1000.00 for the first 4 million gallons used and $0.00025 for each additional gallon
c. code i: $1000.00 if usage does not exceed 4 million gallons; $2000.00 if usage is more than 4 million gallons but does not exceed 10 million gallons; and $3000.00 if usage exceeds 10 million gallons
your program should prompt the user to enter an account number (type int), the code (type char), and the gallons of water used (type float). your program should echo the input data and print the amount due from the user.
Answers: 3
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
Engineering, 04.07.2019 18:10
Water at 55c flows across a flat plate whose surface temperature is held constant at 95c. if the temperature gradient at the plate's surface for a given value of x is 18 c/mm, find a) local heat transfer coefficient. b) heat flux
Answers: 3
Engineering, 04.07.2019 19:10
With increases in magnification, which of the following occur? a. the field of view decreases. b. the ambient illumination decreases. c. the larger parts can be measured. d. the eyepiece must be raised.
Answers: 1
Engineering, 04.07.2019 19:20
The quality is zero at a)-the saturated vapour state b)-the saturated liquid state c)-the saturated liquid-vapour mixture state d)-none of the states in the other answers
Answers: 3
Write a program that will calculate and print out bills for the city water company. the water rates...
Chemistry, 04.02.2021 03:20
Social Studies, 04.02.2021 03:20
History, 04.02.2021 03:20
Mathematics, 04.02.2021 03:20
Mathematics, 04.02.2021 03:20
Mathematics, 04.02.2021 03:20
Mathematics, 04.02.2021 03:20
Spanish, 04.02.2021 03:20