3969 - 判断两数大小
输入两个数,判断他们的大小
题目输入
4 5
题目输出
4<5
输入/输出样例
题目输入
6 7
题目输出
6<7
C++解答
#include <iostream> #include <cstdio> using namespace std; int main() { int x,y; cin>>x>>y; if(x>y) { cout<<x<<">"<<y<<endl; } else if (x==y) { cout<<x<<"="<<y<<endl; } else { cout<<x<<"<"<<y<<endl; } return 0; }