Problem1937--整数四则运算

1937: 整数四则运算

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

本题要求编写程序,计算2个正整数的和、差、积、商并输出。题目保证输入和输出全部在整型范围内。

Input

输入在一行中给出2个正整数A和B。

Output

在4行中按照格式“A 运算符 B = 结果”顺序输出和、差、积、商。

Sample Input Copy

3 2

Sample Output Copy

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

Source/Category

245