Problem psle
User ybc
Submission Time 2023-11-08 13:17:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:9:23: error: expected primary-expression before ‘=’ token
9 | else if (s >= 75 and =< 90) {
| ^
psle.cpp:9:24: error: expected primary-expression before ‘<’ token
9 | else if (s >= 75 and =< 90) {
| ^
psle.cpp:12:23: error: expected primary-expression before ‘<=’ token
12 | else if (s >= 60 and <= 74) {
| ^~
psle.cpp:15:23: error: expected primary-expression before ‘<=’ token
15 | else if (s >= 50 and <= 59) {
| ^~
psle.cpp:18:23: error: expected primary-expression before ‘<=’ token
18 | else if (s >= 35 and <= 49) {
| ^~
psle.cpp:20:2: error: expected ‘}’ before ‘else’
20 | else if (s >= 20 and <= 34) {
| ^~~~
psle.cpp:18:30: note: to match this ‘{’
18 | else