Question: Using Visual Basic, with strict type on, Create a button and it's Click event handler. In the event handler, write a Select Case statement to
Using Visual Basic, with strict type on,
Create a button and it's Click event handler. In the event handler, write a Select Case statement to determine the magnitude of the Long Integer value CurrentValue. You will need to declare this variable. If the value is between 10 and 99, store the value Tens in the String variable named Magnitude. If the value is between 100 and 999, store the value Hundreds in the variable. If the value is between 1000 and 9999, store the value Thousands in the variable. If the number is larger than 9999, store the value Too large in the variable. Declare the string variable as necessary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
