Problem psle
User Sarah5678
Submission Time 2024-01-29 16:44:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:7:15: error: expected ‘;’ before ‘}’ token
7 | cout << "A*"
| ^
| ;
8 | } else if (s >= 75, s <= 90) {
| ~
psle.cpp:9:14: error: expected ‘;’ before ‘}’ token
9 | cout << 'A'
| ^
| ;
10 | } else if (s >= 60, s <= 74){
| ~
psle.cpp:11:14: error: expected ‘;’ before ‘}’ token
11 | cout << 'B'
| ^
| ;
12 | } else if (s >= 50, s <= 59){
| ~
psle.cpp:13:14: error: expected ‘;’ before ‘}’ token
13 | cout << 'C'
| ^
| ;
14 | } else if (s >= 35, s <= 49){
| ~
psle.cpp:15:14: error: expected ‘;’ before ‘}’ token
15 | cout << 'D'
|