Question
I need a pseudo-code for the following program and information. Problem Statement A painting company has determined that to paint 115 square feet of wall
I need a pseudo-code for the following program and information.
Problem Statement
A painting company has determined that to paint 115 square feet of wall space, the task will require one gallon of paint and 8 hours of labor. The company charges $20.00 per hour for labor. Design a modular program that asks the user to enter the number of square feet of wall space to be painted and the price of paint per gallon. 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 only the following modules:
-
Module main. Accepts user input of the wall space (in square feet) and the price of a gallon of paint. 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 variables assigned the gallons paint needed to paint the room, the cost of the paint, the number of labor hours needed and the labor charges as arguments.
-
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. Note that numbers in your output may not be exactly as shown.
Expected Output
Enter wall space in square feet: 500
Enter price of paint per gallon: 25.99
Gallons of paint: 4.3478260869565215
Hours of labor: 34.78260869565217
Paint charges: $112.99999999999999
Labor charges: $695.6521739130435
Total Cost: $808.6521739130435
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