Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: Java Program Advice Needed
03-08-2011, 06:04 PM #1
- Join Date
- Mar 2011
- Thanked 0 Times in 0 Posts
Java Program Advice Needed
I'm a little st
Last edited by Gomez; 03-09-2011 at 07:00 PM.
03-08-2011, 07:02 PM #2
My first hint to you is, to put your code in CODE tags so that your post looks pretty.
My second hint to you is, you know how much fuel each customer purchased right? Then each time there is a new customer add the amount of fuel purchased to a total fuel purchases variable. If you want to get real fancy make a total fuel purchases variable for each type of fuel being sold. If you want to know how how much revenue was incurred, you can either do the same as above, or you can take your three total fuel purchases and multiply them by their respective fuel rate. If you intend to do this inside of an object, you might consider using static variables.
Oh, and fix your post... There is an edit button at the bottom of it...--www.firemelt.net--
* No good deed goes unpunished.
* Cheer up, the worst has yet to come...
03-08-2011, 07:23 PM #3
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,662 Times in 2,631 Posts
This also doesn't belong in the computer programming forum.
Moved from computer programming to Java.PHP Code:
header('HTTP/1.1 420 Enhance Your Calm');