Question: implement the pseudocode of the following program with three validations. C++ if / else while and do / while A painting company has determined that
implement the pseudocode of the following program with three validations. C++
if / else while and do / while
A painting company has determined that for every 110 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $25.00 per hour for labor. Write a modular program that allows the user to enter the number of rooms that are to be painted and the price of the paint per gallon. It should also ask for the square feet of wall space in each room. It should then display the following data: 1. The number of gallons of paint required 2. The hours of labor required 3. The cost of the paint 4. The labor charges 5. The total cost of the paint job Input validation: 1. Do not accept a value less than 1 for the number of rooms. 2. Do not accept a value less than $10.00 for the price of paint. 3. Do not accept a negative value for square footage of wall space.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
