Problem psle
User claireau
Submission Time 2023-11-08 15:22:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:6:3: error: expected ‘,’ or ‘;’ before numeric constant
6 | 91 <= A* <= 100;
| ^~
psle.cpp:14:21: error: expected primary-expression before ‘)’ token
14 | if (91 <= x <= 100;) {cout << A*;}
| ^
psle.cpp:14:34: error: expected primary-expression before ‘;’ token
14 | if (91 <= x <= 100;) {cout << A*;}
| ^
psle.cpp:15:26: error: expected primary-expression before ‘)’ token
15 | else if (75 <= x <= 90;) {cout << A;}
| ^
psle.cpp:16:27: error: expected primary-expression before ‘)’ token
16 | else if (60 <= x <= 74;) {cout << B;}
| ^
psle.cpp:17:28: error: expected primary-expression before ‘)’ token
17 | else if (50 <= x <= 59;) {cout << C;}
|