Problem 2559. Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_number
Solution Stats
Problem Comments
-
6 Comments
Show
3 older comments
Sophia
on 20 May 2024
I wrote solution and tested it on all test suite items, and it was correct, Why it keeps giving me here that it failed tests!?
寒松
on 1 Jul 2024
good
Leandro
on 6 Aug 2024
Nice problem!
Solution Comments
Show commentsGroup

Matrix Patterns III
- 12 Problems
- 47 Finishers
- Make a diamond
- Dice face matrix!
- Produce the following matrix
- Check if a matrix is a palindrome in all directions
- Form a square matrix from four square sub-matrices
- Create a square matrix with given conditions
- create a square matrix
- Tent matrix
- Vandermonde Matrix
- Union Jack Matrix
- Make a rainbow matrix (follow-up to checkerboard matrix)
- Diagonal Pattern
Problem Recent Solvers4612
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!