3. Even Or Odd
Ivan Ivanov
Posted on January 20, 2023
using System;
namespace EvenOrOdd
{
internal class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
if (number % 2 == 0)
{
Console.WriteLine("even");
}
else
{
Console.WriteLine("odd");
}
}
}
}
💖 💪 🙅 🚩
Ivan Ivanov
Posted on January 20, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.