4. Application 1- Game Select Case expression
Case value1
Coding Includes- Block of one or more VB statements
CaseRandomize Timer
value2
•Roll Dice Block of one or* 5) + VB Statements
a = CInt(Rnd more 1
Case value3
lbldice.Caption = a
•Switch Case Case Else
Block of one or more VB Statements
•If Else End Select
If ConditionThen
•Function Calling .
Else
.
End If
Function Defining:
Private Sub Function_name()
.
.
End Sub
Function Calling:
Call function_name