其他分享
首页 > 其他分享> > 2021-10-26

2021-10-26

作者:互联网

2021.10.5
昨天因为事情比较多忘记发了
今天补发
#include <stdio.h>
int main(){
int a,b;
scanf("%d%d",&a,&b);
if(a%20,b%20)
{
printf("%d+%d=%d",a,b,a+b);
}
else if(a%21,b%21)
{
printf("%d-%d=%d",a,b,a-b);
}
else if(a%20,b%21)
{
printf("%d/%d=%d",a,b,a/b);
}
else if(a%21,b%20)
{
printf("%d*%d=%d",a,b,a*b);
}
return0;
}

标签:10,26,20,21,b%,else,2021,printf,a%
来源: https://blog.csdn.net/m0_63195171/article/details/120980699