subject
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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:20
Which of these is a benefit of social networking? oa. hiding your true identity from friendsob. avoiding talking to people in personoc. spending time with friends instead of studyingod. connecting with new people
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Some peer-to-peer networks have a server and some don't. true false
Answers: 2
question
Computers and Technology, 24.06.2019 18:20
Acommon algorithm for converting a decimal number to binary is to repeatedly divide the decimal number by 2 and save the remainder. this division is continued until the result is zero. then, each of the remainders that have been saved are used to construct the binary number.write a recursive java method that implements this algorithm.it will accept a value of int and return a string with the appropriate binary character representation of the decimal number.my code: public class lab16{public string converttobinary(int input){int a; if(input > 0){a = input % 2; return (converttobinary(input / 2) + "" +a); } return ""; } }
Answers: 1
You know the right answer?
Note this is in python ! 3.12 program: painting a wall (python 3)(1) prompt the user to input a wal...
Questions
question
World Languages, 12.11.2020 06:30
question
History, 12.11.2020 06:30
question
Computers and Technology, 12.11.2020 06:30
Questions on the website: 13722361