Swiss Re interview question

design a calculator in oop