Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

7.14. What is the purpose of a configuration model?

Answered: 1 week ago