Problem | exam |
---|---|
User | AthanChee03 |
Submission Time | 2023-11-08 10:38:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:14:22: error: expected ‘)’ before ‘}’ token
14 | else if (choice == 2}{
| ~ ^
| )
exam.cpp:14:22: error: expected primary-expression before ‘}’ token
exam.cpp: At global scope:
exam.cpp:14:23: error: expected unqualified-id before ‘{’ token
14 | else if (choice == 2}{
| ^
exam.cpp:19:2: error: expected unqualified-id before ‘return’
19 | return 0;
| ^~~~~~
exam.cpp:20:1: error: expected declaration before ‘}’ token
20 | }
| ^