in reply to Homework: simple calculator

You got some great help, and I hope you won't be a stranger here. But it helps us to help you if you tell us what your question/problem is. 8-)