Problem psle
User Secre
Submission Time 2025-06-16 16:42:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:4:12: error: ‘marks’ was not declared in this scope
4 | if(marks=100 or 91<=marks){
| ^~~~~
psle.cpp:5:2: error: ‘grade’ was not declared in this scope
5 | grade='A*';
| ^~~~~
psle.cpp:7:2: error: ‘grade’ was not declared in this scope
7 | grade='A';
| ^~~~~
psle.cpp:9:2: error: ‘grade’ was not declared in this scope
9 | grade='B';
| ^~~~~
psle.cpp:11:2: error: ‘grade’ was not declared in this scope
11 | grade='C';
| ^~~~~
psle.cpp:13:2: error: ‘grade’ was not declared in this scope
13 | grade='D';
| ^~~~~
psle.cpp:15:2: error: ‘grade’ was not declared in this scope
15 | grade='E';
| ^~~~~
psle.cpp:17:2: error: ‘grade’ was not declared in this scope
17 | grade='U';
| ^~~~~
psle.cpp:18:1: error: expected ‘}’ at end of input
18 | }
| ^
psle.c