Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A painting company has determined that for every 115 square feet of wall space t

ID: 3655362 • Letter: A

Question

A painting company has determined that for every 115 square feet of wall space to be painted, one gallon of paint and eight hours of labor will be required. The company charges $18.00 per hour for labor. Write a program that will ask a user for the square feet of wall space to be painted and the price of paint per gallon. The program should display the number of square feet to be covered, the cost of paint, the cost of labor and the total cost. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?>

Do not accept a value less than $10.00 per gallon for the price of paint.

At a minimum write and call a function for each of the following tasks:

Run the program three times using the following inputs, make sure your output is similar to the output of my sample program.

Square Feet Cost Per Gallon

12900 $12.00

605 $15.99

444 $8.00

Explanation / Answer

#include #include using namespace std; void getInfo(int &sqft,double &price){// //ask a user for the square feet of wall space to be painted and the price of paint per gallon. cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote