Problem exam
User ethanK1RB0
Submission Time 2025-02-17 15:07:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | if (n==1) {
| ^
| yn
exam.cpp:8:5: error: expected ‘(’ before ‘else’
8 | if else (n==2) {
| ^~~~
| (