【题目链接】
ybt 1043:整数大小比较
OpenJudge NOI 1.4 05:整数大小比较
【题目考点】
1. if…else if…else语句
【题解代码】
解法1:
#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;
}