Why is my code showing error | Sololearn: Learn to code for FREE!
16th Jan 2019, 10:54 PM
Jadyn
Jadyn - avatar
5 Answers
+ 3
1. Put everything under line 19 inside main function 2. Many syntax errors, refer to c# tutorial to fix them 3. For comparing variables use == if(s==s)
16th Jan 2019, 11:09 PM
Elva
Elva - avatar
17th Jan 2019, 2:14 AM
[SE]شبگرد
[SE]شبگرد - avatar
+ 1
1. The three closing brackets in lines 15-17 should be at the end of the code. 2. Use Console.WriteLine() instead of ConsileWriteLine(). 3. Change "if (s = s)" to "if (s == s)".
16th Jan 2019, 11:05 PM
Diego
Diego - avatar
- 1
I don't understand
16th Jan 2019, 11:22 PM
Jadyn
Jadyn - avatar
- 1
Please show me
16th Jan 2019, 11:22 PM
Jadyn
Jadyn - avatar