Computers and Technology, 01.07.2020 15:01 melly6317
write a program painting a wa15.12 LAB*: Program: Painting a wall Output each floating-point value with two digits after the decimal point, which can be achieved by executing cout << fixed << setprecision(2); once before all other cout statements. (1) Prompt the user to input a wall's height and width. Calculate and output the wall's area. (2 pts) Note: This zyLab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on the next line, but such values don't actually appear as output when the program runs. Enter wall height (feet): 12.0 Enter wall width (feet): 15.0 Wall area: 180.00 square feet (2) Extend to also calculate and output the amount of paint in gallons needed to paint the wall. Assume a gallon of paint covers 350 square feet. Store this value using a const double variable. (2 pts) Enter wall height (feet): 12.0 Enter wall width (feet): 15.0 Wall area: 180.00 square feet Paint needed: 0.51 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. (2 pts) Enter wall height (feet): 12.0 Enter wall width (feet): 15.0 Wall area: 180.00 square feet Paint needed: 0.51 gallons Cans needed: 1 can(s)ll in c++
Answers: 1
Computers and Technology, 22.06.2019 16:30
Which of the following statements best describes it careers?
Answers: 2
Computers and Technology, 22.06.2019 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
Computers and Technology, 23.06.2019 02:30
Research data that is presented using descriptive language is said to be
Answers: 2
Computers and Technology, 23.06.2019 20:30
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
write a program painting a wa15.12 LAB*: Program: Painting a wall Output each floating-point value w...
Computers and Technology, 03.08.2019 13:00
Mathematics, 03.08.2019 13:00
Mathematics, 03.08.2019 13:00
Biology, 03.08.2019 13:00
English, 03.08.2019 13:00
Computers and Technology, 03.08.2019 13:00
History, 03.08.2019 13:00
English, 03.08.2019 13:00
Social Studies, 03.08.2019 13:00
History, 03.08.2019 13:00
Health, 03.08.2019 13:00