比较x和y的大小: 【单选】 #include <iostre...
发布于 2022-03-03 16:33:59
比较x和y的大小:
【单选】 #include <iostream>
using namespace std
int main()
{
int x = -1
unsigned int y = 2
if(x > y) {
cout << "x is greater"
} else {
cout << "y is greater"
}
}
【单选】 #include <iostream>
using namespace std
int main()
{
int x = -1
unsigned int y = 2
if(x > y) {
cout << "x is greater"
} else {
cout << "y is greater"
}
}
登录后免费查看答案
关注者
0
被浏览
35