Problem exam
User Akshar
Submission Time 2024-06-19 09:22:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:7:4: error: ‘cout’ has not been declared
7 | cout:: << Hello World! << "\n"
| ^~~~
exam.cpp:7:11: error: expected unqualified-id before ‘<<’ token
7 | cout:: << Hello World! << "\n"
| ^~
exam.cpp:7:14: error: ‘Hello’ was not declared in this scope; did you mean ‘ftello’?
7 | cout:: << Hello World! << "\n"
| ^~~~~
| ftello
exam.cpp:8:9: error: expected ‘(’ before ‘else’
8 | } if else(x==2){
| ^~~~
| (
exam.cpp:12:4: error: expected ‘}’ at end of input
12 | }
| ^
exam.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^