Problem exam
User YII1719
Submission Time 2023-11-08 11:23:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp:11:25: error: stray ‘\’ in program
11 | cout << "Hello World" \n;
| ^
exam.cpp: In function ‘int main()’:
exam.cpp:7:6: error: ‘x’ was not declared in this scope
7 | if (x = 2) {
| ^
exam.cpp:11:24: error: expected ‘;’ before ‘n’
11 | cout << "Hello World" \n;
| ^ ~
| ;