Problem | psle |
---|---|
User | Anonymous35V |
Submission Time | 2023-11-08 14:49:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:6:3: error: expected initializer before ‘int’
6 | int grade
| ^~~
psle.cpp:10:2: error: ‘else’ without a previous ‘if’
10 | else if (score >== 60) {
| ^~~~
psle.cpp:10:11: error: ‘score’ was not declared in this scope
10 | else if (score >== 60) {
| ^~~~~
psle.cpp:10:19: error: expected primary-expression before ‘=’ token
10 | else if (score >== 60) {
| ^
psle.cpp:11:6: error: ‘grade’ was not declared in this scope
11 | grade = 'B';
| ^~~~~
psle.cpp:13:19: error: expected primary-expression before ‘=’ token
13 | else if (score >== 55) {
| ^
psle.cpp:14:6: error: ‘grade’ was not declared in this scope
14 | grade = 'C';
| ^~~~~
psle.cpp:16:19: error: expected primary-expression before ‘=’ token
16 | else if (score >== 50