Problem psle
User Ningja
Submission Time 2023-11-08 11:12:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 |
4 | int main() {
| ~~~
psle.cpp: In function ‘int main()’:
psle.cpp:8:6: error: ‘score’ was not declared in this scope
8 | if (score >= 91) {
| ^~~~~
psle.cpp:9:6: error: ‘grade’ was not declared in this scope
9 | grade = 'A*';
| ^~~~~
psle.cpp:12:6: error: ‘grade’ was not declared in this scope
12 | grade = 'A';
| ^~~~~
psle.cpp:15:7: error: ‘grade’ was not declared in this scope
15 | grade = 'B';
| ^~~~~
psle.cpp:18:7: error: ‘grade’ was not declared in this scope
18 | grade = 'C';
| ^~~~~
psle.cpp:21:6: error: ‘grade’ was not declared in this scope
21 | grade = 'D';
| ^~~~~
psle.cpp:24:6: error: ‘grade’ was not declared in