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?
OK I found the problem I had the class name as New Class.java I changed it to CalculatingTipsUsingInputDialog.java and everything runs fine. Thank you everyone for your help.
ok when I change my class name to that I now get the error class "CalculatingTipsUsingInputDialog is public, should be declared in a file named CalculatingTipsUsingInputDialog.java"
Oh ok I see what i did wrong there thanks Wouter. As far as my class name being two words I am not sure what you mean. I am sorry for the simple questions I am very new to java.
I need to write a program that reads the subtotal and the gratuity rate, then computes the gratuity and total. Im getting a couple errors can anyone help me out?