Question: Decision in programming using visual basics In Exercises 1 through 6, for each of the responses shown in the parentheses, determine the output displayed in
In Exercises 1 through 6, for each of the responses shown in the parentheses, determine the output displayed in the text box when the button is clicked on. 1. Private Sub btnDisplay_Click (...) Handles btnDisplay.click Dim age, price As Double age =CDbl (InputBox ("What is your age?")) Select Case age Case Is =17 price =5 End Select txtoutput. Text = "The price is " \& price.Tostring("C") End Sub (8.5,17)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
