#include <iostream>
using namespace std;
int main() {
int x,y;
cout<< "enter two integer :";
cin>>x>>y;
if(x!=y){
if(x<y)
cout<<x<<"<"<<y<<endl;
else
cout<<x<<">"<<endl;
}
else cout<<x<<"="<<y<<endl;
return 0;
}
if- else简单分支语句---两数比较
最新推荐文章于 2024-05-31 14:42:05 发布