0

This is beneficial in agame

how can l make the last sentence appearing? https://code.sololearn.com/c017a74BgnBi/?ref=app

23rd Aug 2018, 7:43 AM
salah
4 Antworten
+ 1
If you have not fixed it yet... Remove both of the console.readkey() and the readline. As the exception states SoloLearn has no console which could read a key input and therefore not executing the program in the way you want it but rather throwing an exception on the readkey line in your method enter()
23rd Aug 2018, 7:54 AM
Chrizzhigh
Chrizzhigh - avatar
+ 1
Chrizzhigh do you mean that it will work in the computer in visual studio ?
23rd Aug 2018, 9:47 AM
salah
0
already thanks
23rd Aug 2018, 7:46 AM
salah
0
Yes... I mean maybe there is a Syntax error or some imports missing but it should work in VS... You have to make a Console application tho
23rd Aug 2018, 9:48 AM
Chrizzhigh
Chrizzhigh - avatar