酷代码 AI
菜单
服务商
DeepSeek字节豆包讯飞星火
更多选项

C++判断整数奇偶及大小范围输出题解

```cpp #include <iostream> using namespace std; int main() { int n; cin >> n; // 🧮 判断奇偶和大小 if (n % 2 == 0) { if (n > 100) { cout << "Even and Large" << endl; } else { cout << "Even and Small" << endl; } } else { cout << "Odd and Small" << endl; } return 0; } ``` ######[AI问答 | 126点数解答 | 2026-05-09 19:56:03]

相关提问
本站限时免费提问中
实用工具查看更多
Linux在线手册 [开发类]
Jquery在线手册 [开发类]
今日油价 [生活类]
图片互转base64 [开发类]
时间转换器 [开发类]