A painting company has determined that for every 115 square


Paint Job

A painting company has determined that for every 115 square feet of wall space, one gallon of paint and eight hours of labor are required.

The company charges $18.00 per hour for labor. They would like an application that allows the user to enter the number of rooms to be painted and the price of the paint per gallon.

The application should use input boxes to ask the user for the square feet of wall space in each room.

It should then display the following information:

· The number of gallons of paint required

· The hours of labor required

· The cost of the paint

· The labor charges

· The total cost of the paint job

Do not accept a value less than 1 for the number of rooms. Do not accept a value less than $10.00 for the price of paint. Do not accept a negative value for the square footage of wall space.

1. From the scenario above, select one task that needs to be completed.

2. For the task you select, indicate whether you would you use a Function procedure or a Sub procedure.

a. Describe what the procedure should accomplish

b. whether you would pass variables by value or by reference

3. Explain why you chose to use a Function or a Sub and why you chose to pass variables either By Reference or By Value.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: A painting company has determined that for every 115 square
Reference No:- TGS02880911

Expected delivery within 24 Hours