21天养成好习惯3
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;
}