Problem 3nplus1
User pinglynn
Submission Time 2023-11-09 13:52:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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