calculate prime numbers

Category:
Dates and Math
Type:
Applications
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
calculates all primes between to numbers entered by user, or works out if one number is prime. NOTE: program may need to be restarted each time u need to use it

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: