Problem psle
User zixin
Submission Time 2023-11-10 14:33:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:4:6: error: ‘score’ was not declared in this scope
4 | if (score >= 91) {
| ^~~~~
psle.cpp:5:3: error: ‘grade’ was not declared in this scope
5 | grade = 'A*';
| ^~~~~
psle.cpp:8:3: error: ‘grade’ was not declared in this scope
8 | grade = 'A';
| ^~~~~
psle.cpp:11:3: error: ‘grade’ was not declared in this scope
11 | grade = 'B';
| ^~~~~
psle.cpp:14:3: error: ‘grade’ was not declared in this scope
14 | grade = 'C';
| ^~~~~
psle.cpp:17:3: error: ‘grade’ was not declared in this scope
17 | grade = 'D';
| ^~~~~
psle.cpp:20:3: error: ‘grade’ was not declared in this scope
20 | grade = 'E';
| ^~~~~
psle.cpp:23:3: error: ‘grade’ was not declared in this scope
23 | grade = 'U';
| ^~~~~
psle.cpp:24:2: error: expected ‘}’ at end of input
24 | }
| ^