Problem | exam |
---|---|
User | skibidininja98 |
Submission Time | 2024-06-18 10:53:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:5:10: error: expected initializer before ‘>>’ token
5 | int cin >> x;
| ^~
exam.cpp:6:10: error: expected initializer before ‘>>’ token
6 | int cin >> a,b;
| ^~
exam.cpp:7:6: error: ‘x’ was not declared in this scope
7 | if (x == 1);
| ^
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:10: error: ‘a’ was not declared in this scope
10 | cout << a*b
| ^
exam.cpp:10:12: error: ‘b’ was not declared in this scope
10 | cout << a*b
| ^
exam.cpp:10:12: error: expected ‘}’ at end of input
exam.cpp:4:11: note: to match this ‘{’
4 | int main(){
|