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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!