+ 3
Challenge 9
Spot the error and correct this code. https://code.sololearn.com/cvh089b8izD0/?ref=app This seems a bit easy so at first I allow only Players who are not gold or platinum yet. That means below lv10. Since the Challenge is already won, I am not increasing the level restrictions...
3 odpowiedzi
+ 5
You need to convert the input from string to int.
So instead of just Console.ReadLine() you need to use:
Convert.ToInt32(Console.ReadLine())
+ 2
I don't do c# but the error was quite obvious. At this line DrawPyramid(Console.ReadLine()); you have to pass the parameter as an integer, so convert Console.ReadLine() to ant integer.
+ 2
*Cries*
I literally just got gold