K12教育赛事综合服务平台
聚乐之家官方网站
下载聚乐之家官方App
专注青少年竞赛题库网站
#include <iostream> using namespace std; int main() { int a = 10, b = 20; if (a > 5 && b < 15 || b == 20) { cout << "1"; } else if (a + b > 30) { cout << "2"; } else { cout << "3"; } return 0; }
1
2
3
无输出