Problem exam
User Elyssa278
Submission Time 2023-03-10 15:46:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin >> cat;
| ^~~
exam.cpp:7:9: error: ‘cout’ was not declared in this scope
7 | cout << "Hello World" << endl;
| ^~~~
exam.cpp:7:34: error: ‘endl’ was not declared in this scope
7 | cout << "Hello World" << endl;
| ^~~~
exam.cpp:11:9: error: ‘cout’ was not declared in this scope
11 | cout << p2 * p3 << endl;
| ^~~~
exam.cpp:11:28: error: ‘endl’ was not declared in this scope
11 | cout << p2 * p3 << endl;
| ^~~~