Question: Visual Basic Write a Select Case statement. - Select case of txtInput.Text First case: txtInput.Text has value of 1 Then, assign Male to IblOutput.Text Second
Write a Select Case statement. - Select case of txtInput.Text First case: txtInput.Text has value of "1" Then, assign Male" to IblOutput.Text Second case: txtInput.Text has value of "2" Then, assign "Female" to IblOutput.Text - Third case: txtInput.Text has any other values Then, assign "Invalid Code" to IblOutput.Tex
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
