代码是哪里写错了吗,每当我输入A的数值比B大时,都会显示多一个输出:a和b的值相等
if (a > b) { // a 大 } else if (a < b) { // b 大 } else { // a 和 b 相等 }