#include<stdio.h>
main()
{
int
n,m,sum,ca,chen;
scanf
(
"%d %d"
,&n,&m);
sum=n+m;
ca=n-m;
chen=n*m;
printf
(
"%d %d %d\n"
,sum,ca,chen);
printf
(
"%d\n%d\n%d"
,sum,ca,chen);
}
标签:sum,加减,整数,n%,printf,chen,main,ca,输入
来源: https://www.cnblogs.com/lachesism/p/16648063.html