0

Подскажите пожалуйста почему ошибка возникает. Не могу разобраться.

https://code.sololearn.com/cdKH7ToR2B2l/?ref=app

30th May 2020, 6:55 AM
dsokolov
3 odpowiedzi
+ 1
Right will be: if (x > 10) witout semicolon. Otherwise your code cannot anything do. At the beginning the x gets 0. Thus the while will be not executet. So the console has no output. You can build in Console.WriteLine(x); at the end of your code and plays with the while.
30th May 2020, 8:15 AM
JaScript
JaScript - avatar
+ 1
thanks!
30th May 2020, 8:21 AM
dsokolov
0
CS0162 на 26 строке
30th May 2020, 6:56 AM
dsokolov