Problem 43142. Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example:
n = 10 --> mpn = 7
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 1 Dec 2020
Needs more test cases.
Solution Comments
Show commentsProblem Recent Solvers175
Suggested Problems
-
Fahrenheit to Celsius converter
553 Solvers
-
What is Sum Of all elements of Matrix
413 Solvers
-
4238 Solvers
-
1117 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
331 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!