Problem psle
User nivay210
Submission Time 2023-11-08 10:54:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:5:6: error: ‘score’ was not declared in this scope
5 | if (score >= 70) {
| ^~~~~
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 = 'B';
| ^~~~~
psle.cpp:12:6: error: ‘grade’ was not declared in this scope
12 | grade = 'C';
| ^~~~~
psle.cpp:15:5: error: ‘grade’ was not declared in this scope
15 | grade = 'D';
| ^~~~~
psle.cpp:18:5: error: ‘grade’ was not declared in this scope
18 | grade = 'E';
| ^~~~~
psle.cpp:21:5: error: ‘grade’ was not declared in this scope
21 | grade = 'U';
| ^~~~~
psle.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
psle.cpp:4:11: note: to match this ‘{’
4 | int main(){
|