+ 6

How to make this code running? Please help me.

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

18th Jul 2019, 9:46 PM
Bastien GERMANY
Bastien GERMANY - avatar
3 ответов
+ 21
Yes Daniel C is correct👍you forgot ";" at ending
18th Jul 2019, 10:07 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 4
1) In C#, your lines of code need to end in semicolons (;). This is needed on lines 14, 15, and 17 in your code. 2) The variable "name = Console.ReadLine()" was not given a type. It needs to be "string name = Console.ReadLine()"
18th Jul 2019, 10:01 PM
Daniel C
Daniel C - avatar
+ 2
Thanks a lot guys you really helped me !!! 😊😊
19th Jul 2019, 12:46 AM
Bastien GERMANY
Bastien GERMANY - avatar