In this exercise, you create an application for Brazilian Tea, which sells both hot and iced tea

Question:

In this exercise, you create an application for Brazilian Tea, which sells both hot and iced tea in three different cup sizes. Use the following names for the solution and project, respectively: Tea Solution and Tea Project. Save the application in the VB2015\ Chap05 folder. The application’s interface, which is shown in Figure 5-56, provides radio buttons for selecting the cup size. The check box is used to specify whether the customer is ordering iced tea. The price for each cup size is shown in the interface; however, the store must also charge a 4% sales tax. The Calculate button should calculate the total price of a cup of tea. It then should display (in the label control) a message that indicates the cup size, the total price, and whether the tea is hot or iced. Use the If...Then...Else statement to code the multiple-alternative selection structure. The CheckedChanged event procedures for the radio buttons and check box should clear the message from the label control. Test the application appropriately.

Brazilian Tea Size O Iced O Small (2.55) O Medium (3.75) O Large (4.50) label Calculate Exit

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: