Search
Ruby provides .even? method to check if a number is even.
.even?
Ruby also provides .odd? method to check if a number is odd.
.odd?