Answers
Matlab Cody Problem 44384 . Find the nearest prime
- Institution
- Massachusetts Institute Of Technology
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive integer x, find the nearest prime number. Keep in mind that the nearest prime may be less than x.
[Show more]