need help with a java assignment.
For my java assignment I am supposed to modify a code to add other functions to it. I need to add sin, cos, tan, and x^y buttons on the calculator and make them work.
The problem is I get this error. (I know I probably got ^ wrong):
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 23
#1798262 - Pastie
where I am at so far:
#1799334 - Pastie
As I'm still a beginner java programmer I probably got other things wrong in the code, so any help that I can get I will appreciate.