Problem exam
User skibidininja98
Submission Time 2024-06-18 10:56:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:10:27: error: ‘end1’ was not declared in this scope
10 | cout << "Hello World" << end1;
| ^~~~
exam.cpp:11:2: error: ‘else’ without a previous ‘if’
11 | else;
| ^~~~
exam.cpp:12:13: error: expected ‘;’ at end of input
12 | cout << a*b
| ~^
| ;
exam.cpp:12:12: error: expected ‘}’ at end of input
12 | cout << a*b
| ^
exam.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^