subject

Fazer um programa em c++ que contenha 3 funções sendo:
1a função)* cálculo do consumo de água residencial sendo:
consumo residencial até 20m³ = r$2.20/m³, acima r$3.10/m³
(uma variável por referência)
2a função)* cálculo do consumo de água comercial sendo:
consumo comercial até 20m³ = r$3.50/m³, acima r$5.00/m³
(uma variável por referência)
3a função)* função que não retorna valor, que efetua o controle e chame as duas funções acima.
ao final chame essa mesma função habilitando a recursividade, para que o usuário digite obrigatoriamente somente
as escolhas definidas do programa.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:50
3(c). is the following command correct? if not, correct the syntax and explain your answers. you can just rewrite/correct only the wrong parts. (4) select p#, city, zipcode, count(*) from client c, property p, viewing v where c.c# = v.c# and v.p# = p.p# group by p#, city having count(*) > 3;
Answers: 1
question
Computers and Technology, 21.06.2019 23:30
4.11 painting a wall (1) prompt the user to input integers for a wall's height and width. calculate and output the wall's area (integer). note that in this case there is a new line after each prompt. (submit for 1 point). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet (2) extend to also calculate and output the amount of paint in gallons needed to paint the wall (floating point). assume a gallon of paint covers 350 square feet. store this value in a variable. output the amount of paint needed using the %f conversion specifier. (submit for 2 points, so 3 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons (3) extend to also calculate and output the number of 1 gallon cans needed to paint the wall. hint: use a math function to round up to the nearest gallon. (submit for 2 points, so 5 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
You know the right answer?
Fazer um programa em c++ que contenha 3 funções sendo:
1a função)* cálculo do consumo de água...
Questions
question
Mathematics, 25.02.2021 21:10
question
Mathematics, 25.02.2021 21:10
question
Social Studies, 25.02.2021 21:10
question
Mathematics, 25.02.2021 21:10
question
Biology, 25.02.2021 21:10
Questions on the website: 13722363