DEV Community

Ivan Ivanov
Ivan Ivanov

Posted on

5. Nums 100 To 200

using System;

namespace Nums_100_to_200
{
internal class Program
{
    static void Main(string[] args)
    {
        int num = int.Parse(Console.ReadLine());

        if (num < 100)
        {
            Console.WriteLine("Less than 100");
        }
        else if (num >= 100 && num <= 200)
        {
            Console.WriteLine("Between 100 and 200");
        }
        else if (num >= 200)
        {
            Console.WriteLine("Greater than 200");
        }
    }
}
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)