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