题解
2026-08-16 17:26:12
发布于:浙江
8阅读
0回复
0点赞
题解:
#include<bits/stdc++.h>
using namespace std;
int main(){
int x,y;
cin>>x>>y;
if(x>y){
cout<<">";
}
else if(x<y){
cout<<"<";
}else{
cout<<"=";
}
return 0;
}
全部评论 1
#include<iostream>
using namespace std;
int main(){
int x,g;
cin>>x>>g;
if(x > g)
{
cout<<">"<<endl;
}
if(x == g)
{
cout<<"="<<endl;
}
if(x < g)
{
cout<<"<"<<endl;
}
return 0;
}2026-08-29 来自 福建
0








有帮助,赞一个