It looks to me like you're very nearly there. All you seem to be missing is how to exit your loop when 'q' is pressed. last can help you with that.
In reply to Re: Homework: simple calculator
by FunkyMonk
in thread Homework: simple calculator
by R4j4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |