Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class EvenOrOdd
- {
- static void Main(string[] args)
- {
- var num = Double.Parse(Console.ReadLine());
- if (num % 2 == 0)
- Console.WriteLine("even");
- else
- Console.WriteLine("odd");
- }
- }
Add Comment
Please, Sign In to add comment