Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _06.SpeedInfo
- {
- internal class Program
- {
- static void Main(string[] args)
- {
- double speed = double.Parse(Console.ReadLine());
- if (speed <= 10)
- {
- Console.WriteLine("slow");
- }
- else if (speed <= 50)
- {
- Console.WriteLine("average");
- }
- else if (speed <= 150)
- {
- Console.WriteLine("fast");
- }
- else if (speed <= 1000)
- {
- Console.WriteLine("ultra fast");
- }
- else if (speed > 1000)
- {
- Console.WriteLine("extremely fast");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement