how to create calculator with menu using code?