$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 .
$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)
$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 .