Problem | exam |
---|---|
User | skibidininja98 |
Submission Time | 2024-06-18 10:54:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:5:9: error: ‘x’ was not declared in this scope
5 | cin >> x;
| ^
exam.cpp:6:9: error: ‘a’ was not declared in this scope
6 | cin >> a,b;
| ^
exam.cpp:6:11: error: ‘b’ was not declared in this scope
6 | cin >> a,b;
| ^
exam.cpp:8:27: error: ‘end1’ was not declared in this scope
8 | cout << "Hello World" << end1;
| ^~~~
exam.cpp:9:2: error: ‘else’ without a previous ‘if’
9 | else;
| ^~~~
exam.cpp:10:12: error: expected ‘}’ at end of input
10 | cout << a*b
| ^
exam.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^