Question
i need help on this code i know the formula for this code is 2*(length*height) + 2*(width*height)Formula- 2*(length*height) + 2*(width*height) A painter needs a program
i need help on this code
i know the formula for this code is 2*(length*height) + 2*(width*height)Formula- 2*(length*height) + 2*(width*height)
A painter needs a program to calculate how much paint to buy for a project. A project can be anywhere from 1 to 5 rooms. Each room has four walls and a different length and width. Ceiling height can be either 8 or 10 feet high. One can of paint can cover approximately 300 square feet. The program must prompt user for number of rooms. Then for each room, it must prompt for whether ceiling is 8 or 10 feet, length and width of the room. For simplicity, we will ignore doors and windows in our square footage calculation.
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