Write a Paint Calculator program that calculates the total amount of cost needed to paint a room,
Question:
Write a “Paint Calculator” program that calculates the total amount of cost needed to paint a room, given its dimensions. The program is required to have the following features:
1. When the program is executed, the user is greeted with a single-line welcome message.
2. In the following line, the user is asked to enter the feet measurements of the three dimensions of the room in a single line of input. The order of the input MUST be length first, followed by width, and then, height.
3. For a given user input of room dimensions, the program will consider the area of the four walls, AND the area of the ceiling to calculate the amount of paint needed. The floor does not need to be painted.
4. Then, the user is asked to input the number of doors and windows in the room. Each door is assumed to have 3’ X 7’ measurements. Each window is assumed to have 4’ X 4’ measurements. The doors and windows do not need to be painted.
5. Next, the user is asked how many coats he/she wants to have.
Note:
1 gallon of paint will cover 400 square feet of area if applied in a single coat, 400/2 if applied in 2 coats (200 sqft), 400/3 if applied 3 coats and so on.
The cost of paint is $20.00 per gallon.
After processing the inputs, the final output of the program will be the following, printed in a separate paragraph consisting of three lines and with appropriate user-friendly messages.
A) the total square footage of area that needs to be painted,
B) the total amount of paint needed, and
C) the total cost of paint supplies.
Final note:
You may not use conditional statement (if statement) or arrays in this program.
You may not use global variables in this program.
Use C++ to make this program.