simple help

Reply

Join Date: Aug 2006
Posts: 4
Reputation: shapeshifter is an unknown quantity at this point 
Solved Threads: 0
shapeshifter shapeshifter is offline Offline
Newbie Poster

simple help

 
0
  #1
Aug 2nd, 2006
hi,
can anybody write a simple java program for the following pleasee..
coz i have loads of projects in my skool and i have to submit this within 2 days..coz i have to design an interface for this too

"there are 20 houses 15 small houses and 5 big houses.if someone enters s/S it must reserve a small house,if he enters b/B then a big house should be reserved.if all the small houses are reserved ask the user do he want to reserve a gig house,if yes make the reservation or display the message sorry...befor reservin the house ask the user do he want to reserve it for a party or for a holiday. and record the number of days the user plans to stay.
prompt the user to enter c if he wants to pay from cash or cc by credit card..all the credit card payments are liable for a 2.5% additional charge.
finally the system should calculate the total cost according to the charges as following
big house--- for a party 5000
for a holiday 10000
small house--- for a party 2000
for a holiday 6000
"
pls can some one give me the code for the above program..dont need a GUI interface justa simple command line interface is enough...please help mee to solve this
thank you
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,358
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 252
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: simple help

 
0
  #2
Aug 2nd, 2006
Think Scanner and a couple of loops. That's all you need, and from us, for your homework, that is all you will get until you do something yourself.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 763
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

Re: simple help

 
0
  #3
Aug 3rd, 2006
That's more than I would've given to someone who won't even take the time to use proper grammer.

Try your homework yourself, and then if you have trouble we might help you.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC