Problem | psle |
---|---|
User | christal |
Submission Time | 2023-12-04 16:43:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp:4:5: error: cannot declare ‘::main’ to be a global variable
4 | int main {
| ^~~~
psle.cpp:5:2: error: expected primary-expression before ‘int’
5 | int a;
| ^~~
psle.cpp:5:2: error: expected ‘}’ before ‘int’
psle.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
psle.cpp:6:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin >> a;
| ^~~
| sin
psle.cpp:7:2: error: expected unqualified-id before ‘if’
7 | if(a >= 91){
| ^~
psle.cpp:9:4: error: expected unqualified-id before ‘else’
9 | }else if(a<91; a>=75){
| ^~~~
psle.cpp:9:18: error: ‘a’ does not name a type
9 | }else if(a<91; a>=75){
| ^
psle.cpp:11:4: error: expected unqualified-id before ‘else’
11 | }else if(a<75;a>=50){
| ^~~~
psle.cpp:11:17: error: ‘a’ does not name a type