CSPrograms4u
Nothing Succeeds Like Success
Home
About
C
Programs
Numbers
Patterns
Conversions
C Practical File
PPTs
CPP
Programs
PPTs
CG
Programs
PPTs
DS
Programs
PPTs
Python
Programs
Java
Programs
PPT
Practical File
C#
Programs
PPTs
VB
Programs
PPTs
VB 2010
Programs
PPTs
Sunday, 18 February 2018
Use of IIF
Dim N As Integer
Dim CHECK As String
Private Sub Command1_Click()
N = Val(Text1.Text)
CHECK = IIf(N >= 18, "U R Eligible for Voting", "U R Not Eligible for Voting")
Label2.Caption = CHECK
End Sub
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Total Pageviews
Popular Posts
No comments:
Post a Comment
Note: only a member of this blog may post a comment.