Computer Science Homework Solutions
Problem
#47557

Please Fix the following Code

The code and what needs to happen are attached bellow

Couple things are not working.

1) Number of Days

2) SubTotal

3) additional guest  surcharge

4) rollaway Bed Surcharge


5) Total

Attached file(s):
Attachments
Reservation.zip  View File
What needs to happen.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

What needs to happen.doc


Create a new solution named Reservation.sln.

• Create the control instances on the form as shown in the attachment.
Note that the form contains multiple group boxes, DateTime Picker
controls, and a NumericUpDown control.

The cost of a hotel room is based on the following rules:

• The base rate for the room depends on the room type. Standard =
84.50, Deluxe = 104.50, and Suite = 154.50.

• If the number of guests is greater than 2, a $10.00 charge is
imposed on each additional guest per night.

• An additional rollaway bed costs $5.00 per night.

• Declare constants as necessary to store the various rates.

• Using the rules described in the previous list, write the code to
calculate the cost of the hotel room and display the output. Format all
of the output. Make the Calculate button the accept button.

• The Clear button should clear all of the output values, set the
arrival and checkout date to the current date, and set the room type to
standard. Remove the check from the Additional Rollaway Bed check box
and, finally, set the default number of guests to 2.

• Write the code for the Exit button to exit the solution.
Solution
What is this?
By OTA - Overall OTA Rating
Suraj Joshi, PhD (IP) - 4.7/5
Purchase Cost Now
$2.19 CAD (was ~$19.95)
Included in Download
  • Plain text response
  • Attached file(s):
    • Reservation.zip
    • Reservation.txt
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • Create a Visual Basic.net application to schedule campsites. - Create a form with the following objects labeled appropriately: Start Date (date/time picker) End Date (date/time picker) Campsite Type (radio buttons for Basic, Intermediate, Best) Electric R ...
  • Create A Campsite Application - For this assignment, you will create a Visual Basic.NET application to schedule campsites. The form must have the following objects labeled appropriately: Start Date (date/time picker) End ...
  • Data-Connected Applications - In Visual Basic 2005 only.... - I understand how to create the form but I'm getting confused with the code part of it. I tried and tried to do this but i can't seem to figure it out. Can you please help me???? Attached is what the ...
  • Please Fix this Using Visual Basic.NET 2003 - This was for Mr. Rajender Kumar, MCom, OTA ID#: 104967, but since he is away (not replying for any reason) anyone can do it. I'm getting " An unhandled exception of type 'System.Data.OleDb.OleDbE ...
  • Develop a Campsite Program in Visual Basic.NET - For this assignment, you will create a Visual Basic.NET application to schedule campsites. A screen shot of the desired UI is shown in the following image. You can also download a running example of t ...
Browse