AC
2025-01-22 11:03:43
发布于:广东
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
if(ab/c)cout<<a<<"="<<b<<"/"<<c;
else if(abc)cout<<a<<"="<<b<<""<<c;
else if(ab-c)cout<<a<<"="<<b<<"-"<<c;
else if(ab+c)cout<<a<<"="<<b<<"+"<<c;
else if(a+bc)cout<<a<<"+"<<b<<"="<<c;
else if(a-bc)cout<<a<<"-"<<b<<"="<<c;
else if(a/bc)cout<<a<<"/"<<b<<"="<<c;
else if(a*bc)cout<<a<<"*"<<b<<"="<<c;
return 0;
}
这里空空如也
有帮助,赞一个