Untitled
unknown
plain_text
a year ago
323 B
1
Indexable
Never
#include <iostream> using namespace std; int main() { int N; cin >> N; if (N == 12 || (N >= 1 && N <= 2)) { cout << "Winter"; } else if (N >= 3 && N <= 5) { cout << "Spring"; } else if (N >= 6 && N <= 8) { cout << "Summer"; } else if (N >= 9 && N <= 11) { cout << "Autumn"; } else cout << "Error"; }