-->
当前位置:首页 > 题库

PROGRAMMING:Four operations

Luz5年前 (2021-05-10)题库410
Input two real numbers and output their sum, difference, quotient and product.
###Input format:
Two real numbers, separated by spaces, the second real number must not be zero.
###Output format:
Four expressions are the sum, difference, quotient and product of two real numbers. The expressions are separated by spaces, and all data are reserved with 1 decimal place. Refer to the example.
###Input example:
```in
1 2
```
###Output example:
```out
1.0+2.0=3.0 1.0-2.0=-1.0 1.0/2.0=0.5 1.0*2.0=2.0
```







answer:If there is no answer, please comment