Computers and Technology
Computers and Technology, 20.09.2019 00:00, mem8163

Note this is in python ! 3.12 program: painting a wall (python 3)(1) prompt the user to input a wall's height and width. calculate and output the wall's area. (submit for 2 points).enter wall height (feet): 12enter wall width (feet): 15wall area: 180.0 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 in a variable. (submit for 2 points, so 4 points total).enter wall height (feet): 12enter wall width (feet): 15wall area: 180.0 square feetpaint needed: 0.5142857142857142 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 6 points total).enter wall height (feet): 12enter wall width (feet): 15wall area: 180.0 square feetpaint needed: 0.5142857142857142 gallonscans needed: 1 can(s)(4) extend by prompting the user for a color they want to paint the walls. calculate and output the total cost of the paint cans depending on which color is chosen. hint: use a dictionary to associate each paint color with its respective cost. red paint costs $35 per gallon can, blue paint costs $25 per gallon can, and green paint costs $23 per gallon can. (submit for 2 points, so 8 points total).enter wall height (feet): 12enter wall width (feet): 15wall area: 180.0 square feetpaint needed: 0.5142857142857142 gallonscans needed: 1 can(s)choose a color to paint the wall: redcost of purchasing red paint: $35

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, richellemjordan
Draw the hierarchy chart and design the logic for a program that calculates service charges for hazel's housecleaning service. the program contains housekeeping, detail loop, and end-of-job modules. the main program declares any needed global variables and constants and calls the other modules. the housekeeping module displays a prompt for and accepts a customer's last name. while the user does not enter for the name, the detail loop accepts the number of bathrooms and the number of other rooms to be cleaned. the service charge is computed as $40 plus $15 for each bathroom and $10 for each of the other rooms. the detail loop also displays the service charge and then prompts the user for the next customer's name. the end-of-job module, which executes after the user enters the sentinel value for the name, displays a message that indicates the program is complete.
Answers: 2
image
Computers and Technology, 23.06.2019 17:00, taytay1828
What are the 12 colors of the spectrum called?
Answers: 1
image
Computers and Technology, 24.06.2019 16:50, genyjoannerubiera
Ramp charts are generally created in wordlotusexcelpowerpoint
Answers: 1
image
Computers and Technology, 24.06.2019 16:50, Ameilasmickle15
How many types of string types does python support?
Answers: 1
Do you know the correct answer?
Note this is in python ! 3.12 program: painting a wall (python 3)(1) prompt the user to input a wal...

Questions in other subjects:

Konu
Mathematics, 18.03.2021 03:20
Konu
Mathematics, 18.03.2021 03:20
Konu
English, 18.03.2021 03:20