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 Solvers22377
Suggested Problems
-
Matrix indexing with two vectors of indices
739 Solvers
-
Compute a dot product of two vectors x and y
1013 Solvers
-
1133 Solvers
-
Create an index-powered vector
842 Solvers
-
542 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!