Level Points Task C# - I need help with this.
static void Main(string[] args) { int levels = Convert.ToInt32(Console.ReadLine()); Console.WriteLine(Points(levels)); } static int Points(int levels) { //your code goes here if(levels < 1){ levels = levels + 0; } else if(levels < 2){ levels = levels + 1; } else if(levels < 3){ levels = levels + 2; } else if(levels == 3){ levels = levels + 3; } } I used multiple else if statements within the method as the user enters the level which increases their Level Points if the condition is true however its not working. I need help on this.