Problem psle
User rhea61
Submission Time 2023-11-08 12:55:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:5:5: error: ‘score’ was not declared in this scope
5 | if (score >= 91) {
| ^~~~~
psle.cpp:6:5: error: ‘grade’ was not declared in this scope
6 | grade = 'A*';
| ^~~~~
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 = 'B';
| ^~~~~
psle.cpp:15:5: error: ‘grade’ was not declared in this scope
15 | grade = 'C';
| ^~~~~
psle.cpp:18:5: error: ‘grade’ was not declared in this scope
18 | grade = 'D';
| ^~~~~
psle.cpp:21:5: error: ‘grade’ was not declared in this scope
21 | grade = 'E';
| ^~~~~
psle.cpp:24:2: error: ‘grade’ was not declared in this scope
24 | grade = 'U';
| ^~~~~
psle.cpp:27:10: error: expected ‘;’ before ‘}’ token