I have no clue what's wrong in the code. Anyone up there to help?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have no clue what's wrong in the code. Anyone up there to help??

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

3rd Apr 2021, 9:37 PM
SUPER EKUS
SUPER EKUS - avatar
2 Answers
+ 2
You cannot use public inside methodes and you need to initilize the variables https://code.sololearn.com/ctzvqDOxbx7n/?ref=app
3rd Apr 2021, 9:42 PM
Julian Bents
Julian Bents - avatar
0
It doesn’t seem to like you declaring that line as public.
3rd Apr 2021, 9:43 PM
Jerry Hobby
Jerry Hobby - avatar