1 /* 2 *PAT IO-02 整数四则运算 3 *2015-07-30 4 *作者:flx413 5 */ 6 7 #include<stdio.h> 8 int main() 9 { 10 int a, b; 11 scanf("%d%d", &a, &b); 12 printf("%d + %d = %d ", a, b, a + b); 13 printf("%d - %d = %d ", a, b, a - b); 14 printf("%d * %d = %d ", a, b, a * b); 15 printf("%d / %d = %d ", a, b, a / b); 16 return 0; 17 }