Design an application that works as a shopping cart system. The user should be able to add any of the following items to his or her shopping cart:
(When the user selects either a print book or an audio book, use a module with global variables to hold the name and price of the selected book. That way, the main form will be able to retrieve the name and price after the other forms have closed.)
Print Books (books on paper) :
I Did It Your Way $11.95
The History of Scotland $14.50
Learn Calculus in One Day $29.95
Feel the Stress $18.50
Audio Books (books on tape)
Learn Calculus in One Day $29.95
The History of Scotland $14.50
The Science of Body Language $12.95
Relaxation Techniques $11.50
The Main form should look like this…… See image.
The list box shows all items in the shopping cart. There is a 6% sales tax on the total cost of the items in the shopping cart. Also, for each item in the shopping cart there is a $2.00 shipping charge. To remove an item from the shopping cart, the user selects it in the list box and clicks the Remove button. The subtotal, tax, shipping and total fields should be adjusted accordingly.
File Menu Should Look Like This... See image.
When the user selects Reset from the File menu, all items in the shopping cart should be removed, and the subtotal, tax, shipping, and the total fields should be cleared. When the user selects About from the Help menu, a simple About box should appear. When the user selects Print Books from the Products menu, the form below should appear. See image.
To add one of the items to the shopping cart, the user selects it and clicks the Add Book to Cart button. To cancel the operation, the user simply clicks the Close button without selecting a book. On the main form, when the user selects Audio Books from the Products menu the form below should appear. See image.
To add one of the items in the list to the shopping cart, the user selects it and clicks the Add Book to Cart button. To cancel the operation, the user simply clicks the Close button without selecting a book.