|
-
Mar 14th, 2004, 04:04 AM
#1
Thread Starter
New Member
Hotel Reservation Form (Calculate Cost)
Greetings:
I am trying to create a hotel form that people need to fill out when they need to stay at hotels. The Arrival Date, Checkout date, Room Type (Standard = $100, Deluxe = $200, Suite = $300), Number of guests (2 is allowed; more than 2....$20 is charged on each additional guest per night), and if an additional rollaway bed is needed ($30 per night) have to be selected.
The Calculate button will display the Number of Days, Base Rate ($100, $200 or $300), Subtotal (# of days multiplied by the Base Rate), Rollaway Bed Charge (if rollaway bed is checked), Additional Guest Charge and Total.
I have been coding this application without much success. I keep getting stuck (with errors) with the the nested If and Else statements while doing the calculations.
I'd really appreciate any help in completing it.
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|