Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace speedInfo
- {
- class Program
- {
- static void Main(string[] args)
- {
- double speed = double.Parse(Console.ReadLine());
- if (speed <= 10)
- {
- Console.WriteLine("slow");
- }
- else 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 > 100)
- {
- Console.WriteLine("extremely fast");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement