The Donut Shoppe sells four varieties of doughnuts: Glazed ($.75), Sugar ($.75), Chocolate ($.75), and Filled ($.95).
Question:
The Donut Shoppe sells four varieties of doughnuts: Glazed ($.75), Sugar ($.75), Chocolate ($.75), and Filled ($.95). It also sells regular coffee ($1.50) and cappuccino ($2.75). The store manager wants you to create an application that displays a customer’s subtotal, 4.5% sales tax, and total due. Create the application, using the following names for the solution and project, respectively: Donut Solution and Donut Project. Save the application in the VB2015\Chap07 folder. Create the interface shown in Figure 7-54. The image for the picture box is stored in the VB2015\Chap07\ DonutCoffee.png file. When coding the application, use one function to calculate and return the cost of the doughnut, and use another function to calculate and return the cost of the coffee. Use a third function to calculate and return the sales tax. Test the application appropriately.
Step by Step Answer: