Answered step by step
Verified Expert Solution
Link Copied!

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
Pseudo-code
Hierarchy Chart
Program Coded
Program Output Hours of labor: 16.666666
Paint charges: $66.666666
Labor charges: $333.333333
Total Cost: $400.0000000
SubmissionA painting company has determined that they can paint 150 square feet of wall space with one gallon of paint, and the task will require 5 hours of work. The company
charges $20.00 per hour for labor, the current price of paint is $20 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: 500
Enter price of paint per gallon: 2.99
Gallons of paint: 3.333333
Hours of labor: 16.666666 Paint charges: $66.666666
Labor charges: $333.333333
Total Cost: $400.0000000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Privacy In Statistical Databases International Conference Psd 2022 Paris France September 21 23 2022 Proceedings Lncs 13463

Authors: Josep Domingo-Ferrer ,Maryline Laurent

1st Edition

3031139445, 978-3031139444

More Books

Students also viewed these Databases questions

Question

How many multiples of 4 are there between 10 and 250?

Answered: 1 week ago

Question

How many three-digit numbers are divisible by 7?

Answered: 1 week ago