I am trying to write a program that allows the user to input a number,
and prints if the number was odd and even that they entered. I can’t
really find anything online about odd and even functions besides the
int_odd_p function. This is what I have so far.
puts" input a value"
Number1 = STDIN.gets
From here I know its a simple if then statement for num1, but I don’t
know how to make that statement clarify if the number is odd or even.