A377.比较大小题解:
2026-02-10 12:50:46
发布于:四川
10阅读
0回复
0点赞
A377.比较大小
#include<iostream>
using namespace std;
int main(){
int x,y;
cin >> x >> y;//输入
if(x==y){//判断=
cout << "=";
}else if(x>y){//判断>
cout << ">";
}else if(x<y){//判断<
cout << "<";
}
return 0;
}
全部评论 1
完美!
2026-02-10 来自 四川
0






有帮助,赞一个