Write a function to determine if a number is divisible by 5. This can be checked by the following method:
- Check if the last digits is 0 or 5.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers492
Suggested Problems
-
Find the peak 3n+1 sequence value
2565 Solvers
-
3841 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1305 Solvers
-
446 Solvers
-
Find the Oldest Person in a Room
20356 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I want to get my commenting badge!!