Our instructor wrote MainCoffee.java and our job is to write our own class to compute the total price of coffee bags ordered and cost of shipping the boxes. What do I need to declare to get going?
From looking at his code, he's got numLgBoxes, numMedBoxes, numSmBoxes, and totalPrice. I'm sure I'm going to need to incorporate these methods somehow in the code but I'm not sure. He told us to use the Math class (ceil) and using the mod (%) in our computations.
Any help would be much appreciated!
Thanks,
Sean
Attached File(s)

MainCoffee.java (1.89K)
Number of downloads: 6
This post has been edited by SWhockey98: 29 September 2005  09:38 AM