Question: Wall area: 1 8 0 square feet Paint needed: 0 . 5 1 gallons ( 3 ) Extend by prompting the user for a color
Wall area: square feet Paint needed: gallons
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. Round the result to two decimal places with roundprice Hint: Use a dictionary to associate each paint color with its respective cost. Red paint costs $ per gallon can, blue paint costs $ per gallon can, and green paint costs $ per gallon can.
Enter wall height feet: Enter wall width feet: Wall area: square feet Paint needed: gallons red: 'blue': 'green': Choose a color to paint the wall: Cost of purchasing red paint: $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
