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 Solvers22378
Suggested Problems
-
Flip the main diagonal of a matrix
848 Solvers
-
9365 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12565 Solvers
-
682 Solvers
-
Matlab Basics - Absolute Value
644 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!