Skip to content

Finds prime numbers in the range from 1 to user-defined cap.

License

Notifications You must be signed in to change notification settings

Achille004/PrimeNumbers

Repository files navigation

PrimeNumbers

This program writes in a file all the prime numbers between 2 and an user defined cap (which cannot be major than Long.MAX_VALUE).

The software can be run by terminal with the command "java -jar PrimeNumbers.jar" optionally followed by the two args (which, if not included, will be asked later): the max value as an integer argument and the second as the file name.

If you are on Windows you can simply use the PrimeNumbers.exe which may be easier to start.

About

Finds prime numbers in the range from 1 to user-defined cap.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages