DEV Community

Ivan Ivanov
Ivan Ivanov

Posted on

6. Speed Info

using System;

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

        if (num <= 10)
        {
            Console.WriteLine("slow");
        }
        else if (num > 10 && num <= 50)
        {
            Console.WriteLine("average");
        }
        else if (num > 50 && num <= 150)
        {
            Console.WriteLine("fast");
        }
        else if (num > 150 && num <= 1000)
        {
            Console.WriteLine("ultra fast");
        }
        else if (num > 1000)
        {
            Console.WriteLine("extremely fast");
        }
    }
}
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)