Ruby program to take a number as input and tells its even or odd number - Posts - OneCompiler