Video Bonanza Case Study, continue with the project you
developed last week
That is, begin with your project folder Chapter 3, and make a copy of it. (Select it with the mouse, drag over slightly, press and hold the Control key, and release the mouse button.)
You should have your original Chapter 3 folder and a new one titled Chapter 3 Copy.
Right-click on the Chapter 3 Copy folder and rename it to Chapter 4. Then open the folder, locate the Project Solution (.SLN) file and double click that to launch Visual Studio.
Design and code a project to calculate the amount due for rentals. Movies may be in VHS format or DVD format. Videotapes rent for $1.80 each and DVDs rent for $2.50. New releases are $3 for DVD and $2 for VHS.
On the form include a text box to input the movie title and radio buttons to indicate whether the movie is in DVD or VHS format. Use one check box to indicate whether the person is a member; members receive a 10 percent discount. Another check box indicates a new release.
Use buttons for Calculate, Clear for Next Item, Order Complete, Summary, Print, and Exit. The Calculate button should display the item amount and add to the subtotal. The Clear for Next Item button clears the check box for new releases, the movie title, and the radio buttons; the member check cannot be changed until the current order is complete. Include validation to check for missing data(try catch error handling). If the user clicks on Calculate button without first entering the movie title and selecting the movie format, display a message box.
For the Order Complete button, first confirm the operation with the user and clear the controls on the form for a new customer.
The Summary button displays the number of customers and the sum of the rental amounts in a message box. Make sure to add to the customer count and rental sum for each customer order.
Other samples, services and questions:
When you use PaperHelp, you save one valuable — TIME
You can spend it for more important things than paper writing.