Problem psle
User Chris
Submission Time 2024-11-13 11:18:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int32_t main()’:
psle.cpp:11:9: error: ‘x’ was not declared in this scope
11 | if (x >= 91){
| ^
psle.cpp:20:5: error: ‘else’ without a previous ‘if’
20 | else if (60 <= x <= 74)
| ^~~~
psle.cpp:20:20: error: ‘x’ was not declared in this scope
20 | else if (60 <= x <= 74)
| ^
psle.cpp: At global scope:
psle.cpp:25:5: error: expected unqualified-id before ‘else’
25 | else if (50 <= x <=59)
| ^~~~
psle.cpp:27:6: error: expected unqualified-id before ‘return’
27 | return 0;
| ^~~~~~
psle.cpp:29:5: error: expected unqualified-id before ‘else’
29 | else if (35 <= x <49)
| ^~~~
psle.cpp:31:6: error: expected unqualified-id before ‘return’
31 | return 0;
| ^~~~~~
psle.cpp:33:5: error: expected unqualified-id before ‘else’
33 |