Why does this not work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does this not work?

My code doesn't work and I don't know why it does it or how to fix it. https://code.sololearn.com/c3YT9PVNjWxQ/?ref=app

31st Dec 2017, 6:19 PM
BadDuck __
BadDuck __ - avatar
3 Answers
0
You have declare static void method board in the main method. You should have declared it outside the main method and then just called it in the main method.
31st Dec 2017, 6:28 PM
josh mizzi
josh mizzi - avatar
0
@josh mizzi I fixed it, but got a whole set of new errors. I will try and fix them on my own, and if that doesn't work I'll ask for your help again. thanks for helping and happy new year!
31st Dec 2017, 6:42 PM
BadDuck __
BadDuck __ - avatar
0
That is OK happy new year.
31st Dec 2017, 6:43 PM
josh mizzi
josh mizzi - avatar