public static void Main()
Console.WriteLine("enter a whole number,I will declare it as odd or even");
Num1 =Convert.ToInt32(Console.ReadLine());
int remainder = Num1 % 2;
Console.WriteLine("the number {0} is an odd number",Num1);
Console.WriteLine("the number {0} is an even number",Num1);