The isodd(x) method checks whether the given value is an odd number or not.
isodd(x)
x: This is the value to be checked.
This method returns true if the provided value is an odd value. Otherwise, it returns false.
## find isodd of 3println( "isodd(3) => $(isodd(3))")## find isodd of 4println( "isodd(4) => $(isodd(4))")## find isodd of 11println( "isodd(11) => $(isodd(11))")
isodd method with 3 as a parameter. isodd method with 4 as a parameter. isodd method with 11 as a parameter.