Question: Visual Basic Assignment 5 Topics: Arithmetic Operations, Variables, Parentheses-Order of Precedence, If Blocks, Nested If Blocks, ElseIf Clauses, CheckBoxes, RadioButtons. Objective: The objective of this

Visual Basic Assignment 5

Topics: Arithmetic Operations, Variables, Parentheses-Order of Precedence, If Blocks, Nested If Blocks, ElseIf Clauses, CheckBoxes, RadioButtons.

Objective: The objective of this assignment is to practice previous concepts reviewed mainly in Chapters 3 and 4, although Chapter 2 remains as a foundation.

Instructions: Write a program to place an order from the restaurant menu shown in the table below. Use the form displayed under the table, and write the program so that each group box is invisible and becomes visible only when its corresponding check box is checked. After the button is clicked, the cost of the meal should be calculated. (Note: The Checked property of the first radio button in each group box should be set to True in its Properties window. This guarantees that a selection is made in each visible group box. Of course, when the cost of the meal is calculated, only the visible group boxes should be considered.) See the last images for output examples of this program.

Menu of Flint Hills Burgers & Fries

Burgers: Regular (4.19) w/cheese (4.79) w/bacon (4.79) w/ bacon and cheese (5.39)

Fries: Small (2.39) Medium (3.09) Large (4.99)

Drinks: Soda (1.69) Bottled water (1.49)

Visual Basic Assignment 5 Topics: Arithmetic Operations, Variables, Parentheses-Order of Precedence, If

Possible outcomes: Menu Choices for Burgers O Regular (4.19) Burgers Ow/cheese (4.79) O w/bacon (4.79) Ow/bacon and cheese (5.39) Choices for Fries ? Small (2.39) FriesMedium (3.09) O Large (4.99) Compute Cost of Meal Choices for Drinks Drinks Soda (1.69 Bottled water (1 49 Cost of meal: $9.97 Menu Choices for Burgers Regular (4.19) Burgers Ow/cheese (4.79) O w/bacon (4.79) O w/bacon and cheese (5.39) Fries Compute Cost of Meal Choices for Drinks Drinks Soda (1.69) Bottled water (1.49) Cost of meal $5.88

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!