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

PROGRAMMING:Integer Arithmetic Operations

Luz5年前 (2021-05-10)题库447
This problem requires programming to calculate and output the sum, difference, product, quotient and remainder of two positive integers. Ensure that the input and output are all in the integer range.
###Input format:
The input gives two positive integers a and B in one line.
###Output format:
Output sum, difference, product, quotient and remainder in the order of "a operator B = result" in 5 lines.
###Input example:
```in
5 3
```
###Output example:
The corresponding output is given here. For example:
```out
5 + 3 = 8
5 - 3 = 2
5 * 3 = 15
5 / 3 = 1
5 % 3 = 2
```







answer:If there is no answer, please comment