Problem dayum
User niicoletong
Submission Time 2025-06-20 13:27:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dayum.cpp: In function ‘int main()’:
dayum.cpp:11:12: error: expected ‘;’ before ‘}’ token
11 | cout << 1
| ^
| ;
12 | } else if (n = 17) {
| ~
dayum.cpp:13:13: error: expected ‘;’ before ‘}’ token
13 | cout << 2
| ^
| ;
14 | } else if (n = 18) {
| ~
dayum.cpp:15:13: error: expected ‘;’ before ‘}’ token
15 | cout << 3
| ^
| ;
16 | } else if (n = 19) {
| ~
dayum.cpp:17:13: error: expected ‘;’ before ‘}’ token
17 | cout << 4
| ^
| ;
18 | } else if (n = 20) {
| ~
dayum.cpp:19:13: error: expected ‘;’ before ‘}’ token
19 | cout << 5
| ^
| ;
20 | }
| ~