Problem | psle |
---|---|
User | angelahaha |
Submission Time | 2023-11-15 20:20:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:12:13: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
12 | grade = "A*";
| ^~~~
| |
| const char*
psle.cpp:15:5: error: ‘else’ without a previous ‘if’
15 | else if (90< pslescore >75);{
| ^~~~
psle.cpp:16:13: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
16 | grade = "A";
| ^~~
| |
| const char*
psle.cpp:19:5: error: ‘else’ without a previous ‘if’
19 | else if (74< pslescore >60);{
| ^~~~
psle.cpp:20:13: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
20 | grade = "B";
| ^~~
| |
| const char*
psle.cpp:23:5: error: ‘else’ without a previous ‘if’
23 | else if (59< pslescore &g