Computer Science, asked by minecraft2006uttkars, 3 months ago

mcs -warn:0 main.cs
main.cs(11,6): error CS1525: Unexpected symbol `Console'
Compilation failed: 1 error(s), 0 warnings
+ mono main.exe​

Attachments:

Answers

Answered by rushilk7
1

Answer:

Unexpected symbol almost always means "you don't have right number of closing parenthesis for the number of starting parethesis" (or curly braces).

As of this question, you did not close the parenthesis on the line with the double. What i mean by that is you have to use a semicolon to end the statement. add the semicolon to line 10, and you should be good to go!

Your final statement would be:

`double input = Console.ReadLine();`

Similar questions