Why this code is showing error? | SoloLearn: Learn to code for FREE!


Why this code is showing error?



5/28/2020 11:05:24 AM


3 Answers

New Answer


On lines 15, 17, and 19 change Readline to ReadLine. Notice the capital L. You're also using ReadLine to get each input so, when using SoloLearn, you'll need to pass in input in the initial dialog like this: 2<press enter> +<press enter> 2<press enter> Just for clarity, don't actually type out "<press enter>".


You can write that code into c# visual studio and your code it is going to run fine, when you use SoloLearn, put the values in the code or write each one in separated lines. ;-)