sum,difference,product and quotient calculation