作者:舞 三人行必有我师 先来看题目 这道题是一道逻辑题 需要用到if判断语句 将问题分为三种 1 a<b 2 a>b 3 a=b 并输出对应的符号就好了 代码 #include<iostream> using namespace std; int main() { int x,y