Problem 3nplus1
User vince
Submission Time 2023-11-08 09:25:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:3: error: ‘elif’ was not declared in this scope
10 | elif (n % 2 == 1){
| ^~~~
3nplus1.cpp:13:3: error: ‘else’ without a previous ‘if’
13 | else{
| ^~~~