Problem | psle |
---|---|
User | Avinash |
Submission Time | 2025-06-18 16:37:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:6:2: error: expected initializer before ‘cin’
6 | cin >> s
| ^~~
psle.cpp:9:4: error: ‘else’ without a previous ‘if’
9 | } else if (75 <= s <= 90) {
| ^~~~
psle.cpp:9:19: error: ‘s’ was not declared in this scope
9 | } else if (75 <= s <= 90) {
| ^
psle.cpp:12:14: error: expected ‘;’ before ‘}’ token
12 | cout << "B"
| ^
| ;
13 | } else if (50 <= s <= 59) {
| ~
psle.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
psle.cpp:4:13: note: to match this ‘{’
4 | int main () {
| ^