Problem psle
User zixin
Submission Time 2023-11-10 14:42:57
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:4:14: error: expected primary-expression before ‘=’ token
4 | if (score > = 91) {
| ^
psle.cpp:5:10: error: ‘grade’ was not declared in this scope
5 | cout <<grade = 'A*';
| ^~~~~
psle.cpp:7:19: error: expected primary-expression before ‘=’ token
7 | else if (score > = 75) {
| ^
psle.cpp:8:3: error: ‘grade’ was not declared in this scope
8 | grade = 'A';
| ^~~~~
psle.cpp:10:19: error: expected primary-expression before ‘=’ token
10 | else if (score > = 60) {
| ^
psle.cpp:11:3: error: ‘grade’ was not declared in this scope
11 | grade = 'B';
| ^~~~~
psle.cpp:13:19: error: expected primary-expression before ‘=’ token
13 |