I need to write a method to add 2 matrices and Im having a little trouble getting this to run. I keep getting illegal start of expression error on lines 29 and 39. Can someone point me in the right direction please?
For what it's worth, it also looks like you are garbling the difference between adding two matrices and multiplying them, although that is a logic error and has nothing to do with your error messages.
Skool. Stay in. Smartness. Tiny ad:
a bit of art, as a gift, the permaculture playing cards