a calculator performs arithmetic operations