Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The university traveling club has asked you to develop a program that will help people located and register for regional trips. The following is a

The university traveling club has asked you to develop a program that will help people located and register for regional trips. The following is a list of available destination cities they will use to pilot the program: - Ashville, NC ($149 per night per person; double occupancy) - Atlanta, GA ($99 per night per person; double occupancy) - Highlands, NC ($249 per night per person; double occupancy) - Orlando, FL ($99 per night per person; double occupancy) - Destin, FL ($129 per night per person; double occupancy)

You will begin the project by generating pseudocode to show the algorithm that will be use to solve this problem. This will be submitted with the code. You will also design your own form.

As input, the user will need to provide their name (Last, First), the date they wish to depart, and the date they wish to return. These inputs will be collected via textboxes. They will use an input listbox to select the city they wish to visit (shown above). They will also need to select if they want Double or Single accommodations (radio buttons) along with which excursions they would like to participate in. These are optional (checkboxes) and include: - Hiking - $20 per person - Apple Picking - $25 per person - Elk Watching - $45 per person - Massage - $100 per person - Ballgame - $50 per person - Concert - $25 per person

Note: Due to the fact that excursion prices change frequently, these values should be entered as Constants.

The program will have three (3) button click events: - Calculate Estimated Cost - Clear Form - Exit

When Calculating Estimated Cost, the program must validate the input checking for the following: - Name must not be blank. - Name must contain a comma. - Departure Date is not blank. - Return Date is not blank. - Destination city must be selected. - Occupancy must be selected.

Once all input data has been found to be valid, the program should generate the estimated cost of the trip for the individual user. This calculation should take into account: - Cost for the city that is being visited. - Number of nights the trip will last. - Occupancy (Double rates as shown; Singles pay 1.75 double rate) - A trip registration fee of $50 will be added to each order. - Cost of all select Excursions. - Tax at a 10% rate will also be added.

An inquiry ID should also be generated for each request. This will include the FirstInitial & LastName & Inquiry number (a number that is set to 500 for the first person who runs the program and increase by 5 for each inquiry run thereafter). The output should display the following: - Name and generated inquiry ID - Blank line - Destination City - Departure date and Return date - Estimated Trip Cost without excursions (base cost + registration fee) - List ALL selected excursions (or NONE is no excursions were selected) - Tax Cost (base cost + registration fee + excursion costs) * .10 - Total Estimate Cost of Trip

Can you please help me with pseudo, form, and code?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+ 9. What is inflation and what causes it?

Answered: 1 week ago

Question

=+6. What does the invisible hand of the marketplace do?

Answered: 1 week ago