Why can't I pass difficulty levels??
I wrote everything perfect, but it always gives me an error. Can you please give me the code so I could pass. Here is my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int num = Convert.ToInt32(Console.ReadLine()); /* 1 - Easy 2 - Medium 3 - Hard other - "Invalid option" */ switch (num) { case 1: Console.WriteLine("Easy"); break; case 2: Console.WriteLine("Medium"); break; case 3: Console.WriteLine("Hard"); break; default: Console.WriteLine("Invalid option"); break; } } } https://code.sololearn.com/c7BQd78OjelW/?ref=app