// These storyboard sketches have been created for an interactive program that accepts customers' drink orders and displays a price. The user makes choices and a price is calculated based on type and size of drink and applicable tax. An object dictionary appears below the storyboard sketches. Correct the bugs. 00 Drink selector Price Small Regular Diet Medium Large Place order $2.49 Exit Object Type Name Screen Variables Number Affected Script? Label drinkLabel 1 none RadioButton regularButton 1 price RadioButton dietButton 1 price RadioButton smallButton 1 price RadioButton mediumButton 1 price RadioButton largeButton 2 price Button orderButton 1 none calculateWithTax() Button priceLabel 2 none Label priceAmtLabel 2 none Button exitButton 2 none exitMethod()

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 22E
icon
Related questions
Question

How to debug 

// These storyboard sketches have been created for an interactive program that accepts customers'
drink orders and displays a price. The user makes choices and a price is calculated based on type and
size of drink and applicable tax. An object dictionary appears below the storyboard sketches. Correct
the bugs.
00
Drink selector
Price
Small
Regular
Diet
Medium
Large
Place order
$2.49
Exit
Object Type Name
Screen Variables
Number Affected
Script?
Label
drinkLabel
1 none
RadioButton
regularButton 1
price
RadioButton dietButton
1
price
RadioButton
smallButton
1
price
RadioButton mediumButton
1
price
RadioButton largeButton
2
price
Button
orderButton
1
none
calculateWithTax()
Button
priceLabel
2
none
Label
priceAmtLabel 2
none
Button
exitButton
2
none
exitMethod()
Transcribed Image Text:// These storyboard sketches have been created for an interactive program that accepts customers' drink orders and displays a price. The user makes choices and a price is calculated based on type and size of drink and applicable tax. An object dictionary appears below the storyboard sketches. Correct the bugs. 00 Drink selector Price Small Regular Diet Medium Large Place order $2.49 Exit Object Type Name Screen Variables Number Affected Script? Label drinkLabel 1 none RadioButton regularButton 1 price RadioButton dietButton 1 price RadioButton smallButton 1 price RadioButton mediumButton 1 price RadioButton largeButton 2 price Button orderButton 1 none calculateWithTax() Button priceLabel 2 none Label priceAmtLabel 2 none Button exitButton 2 none exitMethod()
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,