Run ID:145489

提交时间:2026-01-25 15:45:33

#include <iostream> using namespace std; int main() { int n; cin >> n; if (n < 8) { cout << "You are too young!" << endl; } else if (n >= 8 && n <= 12) { cout << "Welcome to Junior Class!" << endl; } else if (n >= 13 && n <= 18) { cout << "Welcome to Senior Class!" << endl; } else { cout << "You are too old!" << endl; } return 0; }