namespace ConsoleApplication10
{
class Program
{
static void Main(string[] args)
{
int j;
Console.Write("Please Enter a Number : ");
j = int.Parse(Console.ReadLine());
if (j % 2 == 0)
{
Console.Write("Entered Number is an Even Number");
Console.Read();
}
else
{
Console.Write("Entered Number is an Odd Number");
Console.Read();
}
}
}
}
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Given number is Odd or Even...