THE education site for computer science and ICT
If you get stuck on writing the calculator program, here is how we did it. There are alternative solutions, ours is just one way. So long as your program works then your solution is correct.