My understanding is you want to be able to evaluate a math expression that is represented as a String. : for example "1+3". Your first choice is to give the user several windows to enter a) the...
Type: Posts; User: copeg
My understanding is you want to be able to evaluate a math expression that is represented as a String. : for example "1+3". Your first choice is to give the user several windows to enter a) the...
For future reference, it helps to post the full error you are getting. From what you posted however:
num=(a+B);
I see 'b' defined, but not 'B'. Next issue is that you cannot parse an...