Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Generate a Python program that will determine and display how many gallons of paint is needed to paint the walls of a room when you
Generate a Python program that will determine and display how many gallons of paint is needed to paint the walls of a room when you know the length, height, and number of walls. For this program, a gallon of paint will cover square feet. You can assume that all walls use the same length and height.
Use variables for the length, height and the number of walls. Have the user enter these values. The total square footage is calculated by multiplying the length, height and the number of walls. Gallons of paint needed is calculated by taking the total square footage and divide this number by the
Your program should display the height, length, number of the walls, and the total gallons of paint needed. Be sure to be descriptive in your communication to the User.
Grading Criteria Point Value:
Documentation Requirements
Your last name is contained in the program file name
Include the Opening Comments, program comments
Create a flowchart that documents your program
Coding Techniques not covered in class are documented
Program Requirements
Properly generate the instructions to receive input and display output
Create the needed variables
Utilizes the arithmetic formulas that include the variables to correctly calculate amount of paint needed
Display Requirements must successfully run to earn these points
Your program successfully runs with no errors
Displays the correct result, and the result is clearly labeled with spacing and understandable to the user Mom test
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started