Results 1 to 4 of 4
- 09-01-2012, 04:06 PM #1
Member
- Join Date
- Sep 2012
- Posts
- 3
- Rep Power
- 0
Please help me..I am newbie..how to do this question
A parking garage charges a $2.00 minimum fee to park for up to three hours.The garage charges an additional $0.50 per hour for each hour
or part thereof in excess of three hours.The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than
24 hours at a time. Write an application that calculates and displays the parking charges for each customer who parked in the garage yesterday. You should enter the hours parked for each customer. The program should display the charge for the current customer and should calculate and display the running total of yesterday's receipts. The program should use the method calculateCharges to determine the charge for each customer..
hope you guys can help me
-
Re: Please help me..I am newbie..how to do this question
What you've done is to post your entire assignment without showing what work you've done, without asking a specific question, and that is not how to get help here (or at any forum). For one, we have no idea what you're having trouble with, so we won't know how to advise you. For another, if you don't at least try to solve what you can first, you're cheating yourself out a valuable part of your learning experience, and finally it suggests that you want someone to post a complete solution, thereby doing your homework for you, and I know that this was not your intent.
So please try to solve as much of the problem that you can first, then post what you've done using code tags (see my signature), and then ask a specific question. Do this and you'll have many folks willing to help you.
Much luck!
- 09-01-2012, 04:14 PM #3
Member
- Join Date
- Sep 2012
- Posts
- 3
- Rep Power
- 0
Re: Please help me..I am newbie..how to do this question
actually I don't understand this question

Don't know what to use (maybe nested loop or if else..can you tell me
)
-
Re: Please help me..I am newbie..how to do this question
I would first work on the calculateCharges method. What input (parameters) do you think this method should take?
Similar Threads
-
Absolute newbie question
By anarelle in forum Java ServletReplies: 1Last Post: 02-27-2012, 11:09 AM -
newbie question
By palcente in forum New To JavaReplies: 4Last Post: 02-01-2012, 10:41 PM -
Probably a newbie question.... :P
By gblax123 in forum New To JavaReplies: 9Last Post: 02-23-2011, 10:21 PM -
Newbie question
By MrNiceGuy in forum New To JavaReplies: 8Last Post: 11-12-2010, 05:29 AM -
newbie question
By ronguilmet in forum New To JavaReplies: 2Last Post: 11-16-2009, 02:37 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks