http://rapidshare.com/files
Wednesday, April 30, 2008
JGrasp 1.8.6_08
Click on the link below to download JGrasp 1.8.6_08
http://rapidshare.com/files/111473594/jgrasp186_08.exe
http://rapidshare.com/files
Homework - 30 April
Mr. Plodd, our Secondary School Accounting Teacher, has decided to build his wife a rose garden.
But, his business sense tells him that he can also make money by selling the roses once they are fully grown.
He gets a yield of Y kg of roses per square meter of.
If roses are selling for Rand S per kilo, what profit does he get from his wife’s field?
**Write a program that reads in values for L, W, Y, S and C and determines Mr. Plodd’s profit.
**JSD Notation:
Farming (main class)
myGarden: Garden (object)
roses: Crop (object)
main (end of main class)
Garden (has the following variables)
[length] (L = variable 1)
[width] (W = variable 2)
getArea() (is this object's method)
Crop (has the following variables)
[costs] (C = variable 1)
[yield] (Y = variable 2)
[sellPrice] (P = variable 3)
getProfit() (is this object's method)
But, his business sense tells him that he can also make money by selling the roses once they are fully grown.
His design estimates the garden to be L meters long and W metres wide.
His costs (seeds, fertilizer, labour) are Rand C per square meter.He gets a yield of Y kg of roses per square meter of.
If roses are selling for Rand S per kilo, what profit does he get from his wife’s field?
**Write a program that reads in values for L, W, Y, S and C and determines Mr. Plodd’s profit.
**JSD Notation:
Farming (main class)
myGarden: Garden (object)
roses: Crop (object)
main (end of main class)
Garden (has the following variables)
[length] (L = variable 1)
[width] (W = variable 2)
getArea() (is this object's method)
Crop (has the following variables)
[costs] (C = variable 1)
[yield] (Y = variable 2)
[sellPrice] (P = variable 3)
getProfit() (is this object's method)
Subscribe to:
Posts (Atom)