Problem trivialexam_ex_ex
User rk069
Submission Time 2024-03-08 13:58:25
Score 0

Compile Error

trivialexam_ex_ex.cpp:23:3: error: expected unqualified-id before ‘if’
23 | if (n==6){
| ^~
trivialexam_ex_ex.cpp:26:3: error: expected unqualified-id before ‘if’
26 | if (n==7){
| ^~
trivialexam_ex_ex.cpp:29:3: error: expected unqualified-id before ‘if’
29 | if (n==8){
| ^~
trivialexam_ex_ex.cpp:32:3: error: expected unqualified-id before ‘if’
32 | if (n==9){
| ^~
trivialexam_ex_ex.cpp:35:3: error: expected unqualified-id before ‘if’
35 | if (n==10){
| ^~
trivialexam_ex_ex.cpp:38:3: error: expected unqualified-id before ‘if’
38 | if (n==11){
| ^~
trivialexam_ex_ex.cpp:41:3: error: expected unqualified-id before ‘if’
41 | if (n==12){
| ^~
trivialexam_ex_ex.cpp:44:3: error: expected unqualified-id before ‘if’
44 | if (n==13){
| ^~
trivialexam_ex_ex.cpp:47:3: error: expected unqualified-id before ‘if’
47 |