Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following table shows a training company's workshops, the number of days of each, and their registration fees. Workshop Number of Days Registration Fee Handling

The following table shows a training company's workshops, the number of days of each, and their registration fees.

Workshop Number of Days Registration Fee
Handling Stress 3 $1,000
Time Management 5 $800
Supervision Skills 4 $1,500

The training company conducts its workshops in the six locations shown in the following table. The table also shows the lodging fees per day at each location.

Location Lodging Fees per Day
Austin $150
Chicago $225
Dallas $174
Orlando $300
Phoenix $175
Raleigh $150

When a customer registers for a workshop, he or she must pay the registration fee plus the lodging fees for the selected location For example, here are the charges to attend the Supervision Skills workshop in Orlando:

Registration: $1,500 Lodging: $300 * 3 days = $900 Total: $2,400

Create an application in using Visual Studio C# that lets the user select a workshop from one radio button and a location from a ListBox. When the user clicks a button, the application should calculate and display the registration cost, the lodging cost, and the total cost. You also will need to call a method for each radio button selected to calculate the cost. Pass the workshop fee constant, the number of days constant to the method, and the per day location cost constant. The method should caluclate the total by multiplying days by location cost, apply sales tax of 8%, and then add the registration fee ( no tax on registration ). Include a Clear button that clears the costs from the previous selections and resets the focus of the ListBoxes so that none of the options in either ListBox are selected.

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions