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 Solvers22329
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15609 Solvers
-
553 Solvers
-
9572 Solvers
-
Solve a System of Linear Equations
12668 Solvers
-
1386 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!