主页
C++
C++ If ... Else 语句
demo_if2
运行 ❯
×
更改方向
保存代码
更改主题
#include
using namespace std; int main() { int x = 20; int y = 18; if (x > y) { cout << "x is greater than y"; } return 0; }
x is greater than y