人民的题解
2023-12-17 14:25:11
发布于:北京
55阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int x;
int y;
cin >> x;
cin >> y;
if(x>y)
cout << '>';
else if(x==y)
cout << '=';
else
cout << '<';
return 0;
}
全部评论 1
其实这样就行
#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;
}5天前 来自 北京
0
有帮助,赞一个