Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Even_or_Odd
- {
- class Program
- {
- static void Main(string[] args)
- {
- var num = int.Parse(Console.ReadLine());
- if (num % 2 == 0)
- {
- Console.WriteLine("Even");
- }
- else
- {
- Console.WriteLine("odd");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement