Problem psle
User WuYanni
Submission Time 2024-06-24 14:46:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:6:6: error: ‘a’ was not declared in this scope
6 | if (a >90)
| ^
psle.cpp:8:4: error: ‘else’ without a previous ‘if’
8 | } else if (74<a<91)
| ^~~~
psle.cpp:8:16: error: ‘a’ was not declared in this scope
8 | } else if (74<a<91)
| ^
psle.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | } else if (59<a<75)
| ^~~~
psle.cpp:10:15: error: ‘a’ was not declared in this scope
10 | } else if (59<a<75)
| ^
psle.cpp:12:3: error: ‘else’ without a previous ‘if’
12 | } else if(49<a<61)
| ^~~~
psle.cpp:12:14: error: ‘a’ was not declared in this scope
12 | } else if(49<a<61)
| ^
psle.cpp:14:3: error: ‘else’ without a previous ‘if’
14 | } else if(34<a<50)
| ^~~~
psle.cpp:14:14: error: ‘a’ was not declar