Question: Visual Basic (Using the Windows Form App in Visual Studio 2019) The Computer Science club has decided to start a fundraiser selling AA batteries. They
Visual Basic (Using the Windows Form App in Visual Studio 2019)
The Computer Science club has decided to start a fundraiser selling AA batteries. They would like to sell 2-packs of batteries for $2.99, 5 packs for $6.99, and 12 packs for $14.99.
- Build an application that allows them to create an invoice for each order. A user of the application should be able to ender a Date for the order and a quantity for each package type.
- A calculate button should display the total cost for the quantity of each type of battery pack (2 2packs-> $5.98) as well as the total quantity and sale totals. Make sure to include Minots 7.5% sales tax in your calculation.
- The calculate button should also determine how much to charge for shipping on each order. Shipping costs a flat $0.10 per battery (A 2 pack would cost $0.20 to ship). There is no sales tax on shipping, but the shipping cost should also be added in to the sales total.
- You should have clear button on the form. Clear should empty out both the input text boxes and calculated totals. There should also be an exit button to close the program
- All accessibility controls should in place. Each text box and button should have an access key set and the tab ordering should be logical.
- Your total calculations should be displayed using an alternate colored background, a border, and be sized properly for their output. Make sure to display them with currency formatting as well.
- Option Explicit and Strict should be set to On and Option Infer set to Off at the beginning of your code. Continue to use Hungarian Notation for all form elements and variable names.
- Comment your program. At a minimum you should be commenting sections of your code where variables are declared and initialized, where data is input (brought in from the form/user), where data is being processed, and where data is being output (printed out on the form).
- When uploading your assignment make sure to create a zip file of your entire project. To do this, right click on the main folder, choose Send To, and then choose Compressed (Zipped) Folder. Rename the resultant file as instructed above and upload it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
