Problem 55865. Maior Primo
Dado um valor inteiro N, qual o maior valor primo <= N
MaiorPrimo(5) = 5;
MaiorPrimo(10) = 7;
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers38
Suggested Problems
-
667 Solvers
-
Sum the numbers on the main diagonal
569 Solvers
-
Create sequnce 1 4 9 16 25.........
294 Solvers
-
969 Solvers
-
Double all elements in the array
1362 Solvers
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!