Can someone give a simple code on how to get the nearest prime number?
For example:
Key Value: 0...60
Prime Number: 59 (since 59 is the nearest prime number to 60)
Note:
Prime number < key value
|
Results 1 to 5 of 5
Thread: Getting the nearest prime numberThreaded View
|
Click Here to Expand Forum to Full Width |