using System;
public class Program
{
public static void Main()
int num1; // variable name
Console.WriteLine("Enter number "); //enter a number
num1 = Convert.ToInt32(Console.ReadLine()); // stored data
for (int i = 0; i <= num1; i++) // this will increment the value i
if (i % 2 == 0) // if i divided in to 2
Console.WriteLine("Number {0} is Even", i); // then print even together with the value of i
}
else // else print odd together with the value of i
Console.WriteLine("Number {0} is odd", i);