Giving scanner error???? Help
Giving scanner error in Sololearn online editor. Don't know why? https://code.sololearn.com/cn1k34qvNx28/?ref=app
Well it doesn't make an error to me. I gave as input six integers and it printed the matrixes
The scanner in the main is giving error. I commented that previously. Please try to run the code now.
~ swim ~ According to your solution all he has to do is just create one Scanner object out of the methods and define it as static
I tried this and it worked