#E00213. 计算器

计算器

Input xx, yy, and output the values for x+yx+y, xyx-y, x×yx\times y, x÷yx\div y, and xmodyx\bmod y.

x,yZ,y0x, y\in {\mathbb Z}, y \neq 0

3 2
3 + 2 = 5
3 - 2 = 1
3 * 2 = 6
3 / 2 = 1.500000
3 % 2 = 1

We do not recommend you read the following content unless you encounter problems.

About divisionIn C-style languages, integer division truncates the decimal part, so it is recommended to convert both operands to floating-point numbers for more precise results.