I am writing a program that models a simple calculator. The user will imput an operand and number and the calculator, starting w/zero, will continually accumulate a new sum, until it is promped to quit. The only operands I am using are (+,-,*,/,^, and q for quit).
I don't understand how the computer can intake the operand and number in the same command and read them and do the computation. I understand how it can read them separately. I know I can accumulate using a loop, but still lost.
* Any direction will be appreciated!