Problem 3nplus1
User nivay210
Submission Time 2023-11-09 13:44:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:14:11: error: expected ‘(’ before ‘{’ token
14 | else if {n % 2 == 1){
| ^
| (
3nplus1.cpp:19:1: error: expected ‘}’ at end of input
19 | }
| ^
3nplus1.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^