hi, I am making a calculator and I have everything done except for one small problem. I have one variable for the first number in the calculation, one variable for the second number in the calculation, and one variable for the operator. What I want to do is something like:
answer = variable1 n variable2; (where n is the operator)
is this possible?
thanks,
mark
PS right now I have it set up using switch but it is a real pain... it seems like there is an easy solution to my problem!