Problem psle
User claireau
Submission Time 2023-11-08 15:20:48
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:22: error: expected ‘)’ before ‘;’ token
15 | else (75 <= x <= 90;) {cout << A;}
| ~ ^
| )
psle.cpp:15:23: error: expected primary-expression before ‘)’ token
15 | else (75 <= x <= 90;) {cout << A;}
| ^
psle.cpp:16:4: error: ‘else’ without a previous ‘if’
16 | else (60 <= x <= 74;) {cout << B;}
| ^~~~
psle.cpp:16:23: