Skip to content

omarsomey/prime-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimeEngine

Java program generating all the primes between 2 Integers and accessible via command line.

How to Run

Run the following command inside the /prime-engine/src/ directory:

java com\simscale\PrimeChecker.java

How to use

  • First you have to enter the number of the strategy:

1: Brute Force strategy

2: Sieve of Eratosthenes strategy

3: Sieve of Sundaram

  • Enter the lower bound of the range, it should be an integer.

  • Enter the upper bound of the range.

  • Finally type y or n to continue the program or not.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published