6. Number in Range
Ivan Ivanov
Posted on January 20, 2023
using System;
namespace NumberInRange
{
internal class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
if (number >= -100 && number != 0 && number <= 100)
{
Console.WriteLine("Yes");
}
else
{
Console.WriteLine("No");
}
}
}
}
💖 💪 🙅 🚩
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.