Hello everyone,
I was messing with calculator problem in introduction to
java programming text.
When I have
string arrays in A class and call the exercise class to have string variables to convert to char, everything works fine.
So i decided to try passing char arrays to exercise class thinking that it may be easier to pass char variables without conversion.
It works except that the result i am getting is all wrong. For example 1 + 3 comes out as 100.
Any idea what i am doing wrong??
Thanks in advance.