Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your solution must include these components: Flowchart Pseudo - code Hierarchy Chart Program Coded Program Output Hours of labor: 1 6 . 6 6 6
Your solution must include these components:
Flowchart
Pseudocode
Hierarchy Chart
Program Coded
Program Output Hours of labor:
Paint charges: $
Labor charges: $
Total Cost: $
SubmissionA painting company has determined that they can paint square feet of wall space with one gallon of paint, and the task will require hours of work. The company
charges $ per hour for labor, the current price of paint is $ per gallon. Design a modular program that asks the user to enter the number of square feet of wall
space to be painted. The program should then calculate and display the following data:
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
Your program should contain the following modules:
Module main. Accepts user input of the wall space in square feet Calculates the gallons of paint needed to paint the room, the cost of the paint, the number of
labor hours needed, and the cost of labor. Calls summaryPaint, passing all necessary variables.
Module summaryPaint. Accepts the gallons of paint needed, the cost of the paint, the number of labor hours needed, and the cost of labor. Calculates and
displays total cost of the job and statistics shown in the Expected Output.
Expected Output
Enter wall space in square feet:
Enter price of paint per gallon:
Gallons of paint:
Hours of labor: Paint charges: $
Labor charges: $
Total Cost: $
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started