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

PROGRAMMING:Four simple operations

Luz5年前 (2021-05-10)题库372
Read in two positive integers and find their sum, difference, product and quotient.
###Input format:
Give two positive integers a and B in one line, separated by spaces.
###Output format:
Output the sum, difference, product and quotient of a and B according to the output sample format. The output of quotient retains one decimal place.
###Input example:
Here is a set of inputs. For example:
```in
3 2
```
###Output example:
The corresponding output is given here. For example:
```out
3 + 2 = 5
3 - 2 = 1
3 * 2 = 6
3 / 2 = 1.5
```







answer:If there is no answer, please comment