/nextPrime

A nifty program that computes the next prime of a given number

Primary LanguageC++MIT LicenseMIT

nextPrime

A nifty program that computes the next prime of a given number

Works for every integer, as long as its next prime is within memory constraints. If the input is a prime, the next prime will be given as output.