code a calculator (1)