Design a modular program that allows the user to enter the


Read the following program scenario and then discuss how you would design the program.  How many modules would you use? What tasks would each module handle? How would you organize the modules? That is, which modules would call which other modules? What are the advantages of the design you have chosen.

Program Scenario:

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

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Design a modular program that allows the user to enter the
Reference No:- TGS01473484

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)