Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago