C++ calculator with menu and do...while loops- something's wrong.

This is a discussion on C++ calculator with menu and do...while loops- something's wrong. within the C++ Programming forums, part of the General Programming Boards category; hello!
im new to c++ (and to this forum). i've been struggling with this hw assignment for days now and ...

what i cannot seem to get right is how to make the program exit without having it ask me again to enter my two values and then exit.
in the switch function, the default does show up right, but it attempts to continue asking for more values and tries to give a result, when i do not want it to.
thanks for any help