Problem | 3nplus1II |
---|---|
User | altuser1609 |
Submission Time | 2023-04-18 07:54:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | else if (n % 2 == 0) {
| ^~~~
3nplus1II.cpp:17:2: error: expected ‘}’ at end of input
17 | }
| ^
3nplus1II.cpp:3:13: note: to match this ‘{’
3 | int main () {
| ^