0

Debugging

Umm i wrote this code,this is my first code. Why are there so many errors in it? https://code.sololearn.com/c0p9GvAAW5ZQ/?ref=app https://code.sololearn.com/c0p9GvAAW5ZQ/?ref=app

25th Dec 2018, 5:05 AM
Himanshu
2 Answers
+ 1
Remove 'public' on var life then put game over in " " like this ("game over")
25th Dec 2018, 7:39 AM
Mensch
Mensch - avatar
0
but why is that the case
26th Dec 2018, 4:35 PM
Himanshu