You are to develop a program that allows the end user to enter the number of cookies desired for purchase. If the loyalty discount button is selected, the end user will save 15% on their cookie order. Cookies cost $1.95 each.

Your form should also contain code to exit the program. When the user clicks the "Show Totals" button, the order information appears at the bottom portion of the form.



The final cookie price is computed by taking the total number of cookies ordered and multiplying it by the cookie cost, less any discounts given. The final cookie price is displayed to the user.

Note you will need an IF statement to determine if the "Loyalty Discount" checkbox is checked. Also, you must ensure only numbers greater than one are accepted for the number of cookies. Entering text or a value less than 1 should return an error message.

After you have written your program, test to see if it works correctly. Cut and paste the code into a Word document and submit it to this assignment.