Search Tools Links Login

Determine Even/Odd and Primeness

Posted: 2019-07-14
By: vb6boy
Viewed: 324

Filed Under:

VB6 Miscellaneous, VB6 Math/Dates, VB6 Code Cache

Title Uploaded Size
evenodd.zip 7/14/2019 11:09:09 AM 2,892

This is a simple demonstration of one way to determine if a number is even/odd, or prime/not prime. There is very minimal error checking, and the demo can only handle numbers in the range of a long integer.

It's a pretty simple program, meant for beginners to get an idea of how to accomplish this. If you have a better or different method, why not make your own post with demo code?


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.