Problem psle
User Anonymous35V
Submission Time 2023-11-08 14:49:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:5:9: error: ‘score’ was not declared in this scope
5 | if (score > == 70) {
| ^~~~~
psle.cpp:5:17: error: expected primary-expression before ‘==’ token
5 | if (score > == 70) {
| ^~
psle.cpp:6:5: error: ‘grade’ was not declared in this scope
6 | grade = 'A';
| ^~~~~
psle.cpp:8:19: error: expected primary-expression before ‘=’ token
8 | else if (score >== 60) {
| ^
psle.cpp:9:6: error: ‘grade’ was not declared in this scope
9 | grade = 'B';
| ^~~~~
psle.cpp:11:19: error: expected primary-expression before ‘=’ token
11 | else if (score >== 55) {
| ^
psle.cpp:12:6: error: ‘grade’ was not declared in this scope
12 | grade = 'C';
| ^~~~~
psle.cpp:14:19: error: expected primary-expression before ‘=’ token