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