- Home
·
- Math/Dates
·
- Find a numer is odd or even without any conditional statements
Find a numer is odd or even without any conditional statements
by Ahamed Aslam (2 Submissions)
Category: Math/Dates
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 19th March 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Find a numer is odd or even without any conditional statements
API Declarations
dim n as integer
Rate Find a numer is odd or even without any conditional statements
a(0)="Even"
a(1)="Odd"
end sub
private sub form_click()
a=inputbox("Enter a Number")
msg a(n mod 2)
end sub
Download this snippet
Add to My Saved Code
Find a numer is odd or even without any conditional statements Comments
No comments have been posted about Find a numer is odd or even without any conditional statements. Why not be the first to post a comment about Find a numer is odd or even without any conditional statements.
Post your comment