VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Even or Odd?

IRBMe  (22 Submissions)   Math/Dates   VB Script   Beginner   Wed 3rd February 2021

Nothing spectacular or ground breaking, but just a little piece of code I thought I would do in 20 minutes. After 'Fateha Rahman's attempts at writing this code, I felt my comments weren't really taking effect of improving their code much. So I decided to write this in 20 minutes of spare time to show how it should be done. This code shows 3 different methods of checking if a number is even or odd, and shows which is the fastest. It includes proper bench marking code with it.

Rate Even or Odd? (10(10 Vote))

Download Even or Odd?

Even or Odd? Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters