Problem psle
User Suki
Submission Time 2023-11-23 17:15:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:7:3: error: expected primary-expression before ‘char’
7 | *char grade;
| ^~~~
psle.cpp:10:3: error: ‘grade’ was not declared in this scope
10 | grade = "A*"
| ^~~~~
psle.cpp:13:3: error: ‘grade’ was not declared in this scope
13 | grade = "A";
| ^~~~~
psle.cpp:16:3: error: ‘grade’ was not declared in this scope
16 | grade = "B";
| ^~~~~
psle.cpp:19:3: error: ‘grade’ was not declared in this scope
19 | grade = "C";
| ^~~~~
psle.cpp:22:3: error: ‘grade’ was not declared in this scope
22 | grade = "D";
| ^~~~~
psle.cpp:25:3: error: ‘grade’ was not declared in this scope
25 | grade = "E";
| ^~~~~
psle.cpp:28:3: error: ‘grade’ was not declared in this scope
28 | grade = "U"
| ^~~~~
psle.cpp:30:10: error: ‘grade’ was not declared in this scope
30 | cout << gr