#include <stdio.h>
int main()
{
int a,b;/*定义变量*/
printf("Enter a,b: \n");
scanf("%d%d",&a,&b);/*输入变量*/
printf("Sum: %d\n",a+b);/*计算加输出*/
printf("Difference: %d\n",a-b);
printf("Product: %d\n",a*b);
printf("Quotient: %d",a/b);
return 0;
}
10-02
1701
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交