Due: [Day 23]
This assignment is to be completed individually and must be submitted to Blackboard for grading.
In our textbook, An Introduction to Programming Using Visual Basic 2012 by David Schneider, complete the adaptation of project #6 on page 174:
Write a program to place an order from the restaurant menu below. Create the form and write the program so that after the button is clicked, the cost of the meal is calculated. The user must choose a Burger, but does not have to choose Fries and/or a Drink. Your program must deal with the possibility that the user does not choose one or both. It must also contain a “Reset Form” button that resets all the radio buttons on the form so that none of them are selected and clears any text in the textbox.
The picture of the form in the textbook uses checkboxes as well as radio buttons. You should only use radio buttons.
You do not need to consider sales tax when calculating the total cost.
*** If you haven’t done so previously ***
Before you begin please change the settings on the computer you are working on for Option Strict and Option Explicit to On . This will allow you to see error messages. To do this, go to Tools – Options – Projects and Solutions – VB Defaults – set both Option Explicit and Option Strict to On.
When you name your project use your last name and HW7– for example. LastNameHW7.
The file name of the form must be renamed appropriately in the Solution Explorer.
All objects must be named with a proper 3-letter prefix and a meaningful name
The text that appears in the title bar of the form must be “Menu”.
The radio buttons must be grouped and the radio buttons must be left aligned.
Place a comment at the top of your code with your name.
You must submit a testing table to show that you have thoroughly tested the program. The testing table should be in the following format and contain at least 10 test cases (recall, the user must make a Burger selection but may or may not choose Fries and a Drink):
Burger Selection Fries Selection Drink Selection Cost of Meal
w/bacon Medium bottled water $9.37
As you test your program, make sure your program produces the correct meal cost.