diff --git a/Beginner/OddOrEven.rb b/Beginner/OddOrEven.rb new file mode 100644 index 00000000..9839c043 --- /dev/null +++ b/Beginner/OddOrEven.rb @@ -0,0 +1,7 @@ +num = gets.to_i + +if num % 2 == 0 + puts "EVEN" +else + puts "ODD" +end