Problem psle
User tomatofrog0w0
Submission Time 2023-11-08 11:40:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int32_t main()’:
psle.cpp:35:21: error: expected ‘;’ before ‘}’ token
35 | else (s>= 0 && s<20)}
| ^
| ;
psle.cpp: At global scope:
psle.cpp:36:1: error: ‘grade’ does not name a type
36 | grade = "U";
| ^~~~~
psle.cpp:37:1: error: expected declaration before ‘}’ token
37 | }
| ^
psle.cpp:39:1: error: ‘cout’ does not name a type
39 | cout << grade;
| ^~~~
psle.cpp:40:1: error: expected unqualified-id before ‘return’
40 | return 0;
| ^~~~~~
psle.cpp:42:1: error: expected declaration before ‘}’ token
42 | }
| ^