Question: visual basic Suppose a structure is created with the code Structure stateUSA Dim capCity As String Dim stateNum As Integer End Structure in the Declarations
visual basic Suppose a structure is created with the code
Structure stateUSA
Dim capCity As String
Dim stateNum As Integer
End Structure
in the Declarations section of the Code window.
The code
Dim stateWA As stateUSA
Dim message As String
stateWA.stateNum
stateWA.capCity "Olympia"
message stateWA.capCity & & stateWA.stateNum
MessageBox.Showmessage
is placed in the Click event procedure for one of the programs buttons. What output will be displayed in the message box when the button is clicked on
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
