Question
Asked by:
Thomssen
Thomssen
Rating : No Rating
Questions Asked: 4
Tutorials Posted: 0
 

$1.00 Programming essentials help

Q:

A painting company has estimates that foe 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.  Design a modular 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 required

            The cost of the paint

            The labor charges

            The total cost of the paint job

 

 

 


   
   
   
   
 
Available Tutorials to this Question
Posted by:
rannok_026
rannok_026
Rating (200): A-
Questions Asked: 5
Tutorials Posted: 1452, earned $4,802.15
 

$5.00 Programming essentials

  • This tutorial hasn't been purchased yet.
  • Posted on Aug 24, 2009 at 11:06:09PM
A:
Preview: ... “ Input Laborhours Set Laborcharges = 20 * Laborhours Set Totalcost = Totalpaintcost + Laborcharges Display “The number of gallons of paint required is “ Quantityo ...

The full tutorial is about 114 words long .
Posted by:
modulo51
modulo51
Rating (110): A-
Questions Asked: 1
Tutorials Posted: 353, earned $2,117.64
 

$7.00 Java,Paint program, Scanner input, Math.ceil, UseNotes, ScreenShot

  • This tutorial was purchased 1 time and rated D by students like you.
  • Posted on Aug. 25, 2009 at 12:48:27AM
A:
Preview: ... highest integer.         // It's ok to have some left over but not to be short!         int gallonsNeeded = (int) Math.ceil(area / paintCoverage);         double paintCost = gallonsNeeded * costPerGallon;         // labor needed, this can be fractionaL:         double hoursNeeded = area / paintCoverage * laborPerArea;         double laborCost = hoursNeeded * laborPerHour;         // print summary of costs ...

The full tutorial is about 267 words long plus attachments.

Attachments:
Painting.java (1K) (Preview)
PaintingScreenShot.JPG (32K) (Preview)
PaintingUseNotes.txt (1K) (Preview)
PaintingConsoleHtml.JPG (28K) (Preview)
Posted by:
dhaval
dhaval
Rating : No Rating
Questions Asked: 0
Tutorials Posted: 3, earned $0.60
 

$1.00 A C# Program for Paint Problem

  • This tutorial was purchased 1 time and hasn't been rated yet.
  • Posted on Aug. 26, 2009 at 02:36:46AM
A:
Preview: ... e const int noOfHoursToPaint115SqFT = 8;         private const int labourChargePerHour = 20;         public double noOfGallonsOfPaint { get; set; }         public double hoursOfLabour { get; set; }         public double costOfPaint { get; set; }         public double labourCharge { get; set; }         public double wallSpace { get; set; }         public double paintPricePerGallon { get; set; }        ...

The full tutorial is about 228 words long .
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty