A painting company has determined that for every 115 square feet
of wall space, one gallon of paint and eight hours of labor will be
required. The company charges $20.00 per hour for labor. Write a
program that allows the user to enter the number of rooms to be
painted and the price of the paint per gallon. It should ask for
the square feet of wall space in each room. The program should have
methods that return the following data:
Create pseudocode and C code.
- 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
Note: Could you plz go through this code and let me
know if u need any changes in this.Thank You
=================================
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
// Function Declarations
double costOfPaint(double paint_required, double price);
double totalCost(double cost_of_paint, double labor_charges);
double calLaborCharges(double hours);
double paintReq(int wall_space);
double hoursOfLabor(int wall_space);
int main() {
// Declaring variables
int wall_space;
double price;
// Getting the wall space
printf("Enter the wall space in square feet:");
scanf("%d",&wall_space);
// Getting the price of the paint per gallon entered by the
user
printf("Enter the Price of paint per gallon:");
scanf("%lf",&price);
// Calling the functions
double paint_required = paintReq(wall_space);
double cost_of_paint = costOfPaint(paint_required, price);
double hours = hoursOfLabor(wall_space);
double labor_charges = calLaborCharges(hours);
double tot_cost = totalCost(cost_of_paint, labor_charges);
// Displaying the results
printf("Gallons of paint: %.2f\n",paint_required);
printf("Hours Of labor : %.2f\n",hours);
printf("Paint Charges :$ %.2f\n",cost_of_paint);
printf("Labor charges :$ %.2f\n",labor_charges);
printf("Total cost :$ %.2f",tot_cost);
return 0;
}
// Function which calculate the cost of paint
double costOfPaint(double paint_required, double price)
{
return paint_required * price;
}
// Function which calculate the total cost
double totalCost(double cost_of_paint, double labor_charges)
{
return (cost_of_paint + labor_charges);
}
// Function which calculate the labor charges
double calLaborCharges(double hours)
{
return hours * 20;
}
// Function which calculate the hors of labor required
double hoursOfLabor(int wall_space)
{
return ((double)wall_space / 115) * 8;
}
// Function which calculate the no of gallons of paint
required
double paintReq(int wall_space)
{
return (double)wall_space / 115;
}
=================================
Output:

=====================Could you plz rate me well.Thank You
A painting company has determined that for every 115 square feet of wall space, one gallon...
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 (different colors) and the price of the paint per gallon. It should also ask for the square feet of wall space in each room. Rooms and gallons...
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...
in python A painting company has determined that for every 112 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $35.00 per hour for labor. Write a program that asks the user to enter the square feet of wall space to be painted and the price of the paint per gallon. The program should display the following data: The number of gallons of paint required The hours of labor...
A painting company has determined that for every 112 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $35.00 per hour for labor. Write a program that asks the user to enter the square feet of wall space to be painted and the price of the paint per gallon. Use a function (or multiple functions if you want) to calculate the following values - you also need to output...
Tasks: Complete the following programs noted below: Problem 1: A painting company has determined that for 112 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $35.00 per hour for labor. Write a program that asks the user to enter the square feet of wall space to be painted and the price of paint per gallon. The program should display the following data: The use of functions is required....
Hello, I have seen this in Java and C++ but I am trying to learn it in Python ..any help on the code would be great..ThanksPaint job estimatorQuestion DetailsA painting company has determined that for every 115 square feet or wall space, one gallon of paint and eight hours of labor will be required. The company charges$20.00 per hour for labor . Write a program that allows the user to enter the number of rooms to be painted and the...
I need help making a javascript program to do the following: A painting company has determined that for every 112 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $35.00 per hour for labor and $15.00 for a gallon of paint. Write a function that takes in the number of square feet of wall space and displays the following data: The number of gallons of paint required The hours...
PLEASE HELP WITH CODE PYTHON
BASE.!!!!!!!!
Tasks: Complete the following programs noted below: Problem 1: A painting company has determined that for 112 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $35.00 per hour for labor. Write a program that asks the user to enter the square feet of wall space to be painted and the price of paint per gallon. The program should display the following data:...
This exercise requires designing a program which solves the problem described in the problem statement below. Provide comments as necessary in your pseudo-code and the Java program. Your solution must include these components: Flowchart Pseudo-code Hierarchy Chart Program Coded Program Output 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...
C++, please make it as simple as possible.
A Paint Company is hiring you to develop an application to estimate the costs for a job. They have determined that for every 120 square feet of wall area, one gallon of paint and eight hours of labor is required. The company charges US$ 18.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...