Problem 26. Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
Solution Stats
Problem Comments
-
48 Comments
Show
45 older comments
Archana Narayanan
on 25 Mar 2021
Good Problem!
Ron Rogers
on 4 May 2021
10/10 would code again
Zachary Hill
on 13 Dec 2021
Not to hard
Solution Comments
Show commentsProblem Recent Solvers22350
Suggested Problems
-
Return the 3n+1 sequence for n
8356 Solvers
-
Back to basics 12 - Input Arguments
607 Solvers
-
Sum of first n positive integers
594 Solvers
-
Sum of odd numbers in a matrix
591 Solvers
-
812 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!