Problem

Read the following program statement and then come to class prepared to discuss how you...

Read the following program statement and then come to class prepared to discuss how you would design the program. How many modules would you use? What task would each module handle? How would you organize the modules? That is, which modules would call which other modules? Be prepared to state the advantages of the design you have chosen.

Artistic Solutions Paint Job Estimator

Artistic Solutions, a painting company, has determined that for every 160 square feet of wall space, one gallon of paint and three hours of labor are required. The company charges $28.00 per hour for labor. Design a modular program that allows the user to enter the number of rooms that are to be painted, the approximate square feet of wall space in each room (it may differ from room to room), and the price of the paint per gallon. It should then create a report that includes a fancy company header and displays the following information:

• The number of gallons of paint required (rounded up to the next full gallon)

• The hours of labor required

• The cost of the paint

• The labor charges

• The total cost of the paint job

Input validation: The program should not accept a value less than 1 or more than 12 for the number of rooms or a value less than 100 for the square footage of a room. It should also not accept a value less than $10.00 or more than $25.00 for the price of a gallon of paint.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT