In confused, I took the some of the C# course and wanted to try out a script, so I input something that I learned and checked to see if it was correct, it was, but it still said error, this happened multiple times, can someone please help, or am I just being dumb. https://code.sololearn.com/c8VHGK2vaXTC/?ref=app
3/6/2018 12:49:53 AM
Austin Tompkins7 Answers
New AnswerCan you type and save what you are attempting in code playground and link it here so others can see what it is that may be going wrong
Then we look your script and see what is wrong with it!! Why you did not save the code in your account??
hi. thanks for posting your code on line 17 you used Console.Read() the Read method only expects a single character as input so when you enter multiple characters for a name it will cause errors. Console.ReadLine() will probably fix the problem. ReadLine() accepts multiple characters as input. i hope this helps you. greets. https://code.sololearn.com/caDjE0Z6H3W7/?ref=app
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message