Problem psle
User Yr
Submission Time 2023-04-13 20:13:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

psle.cpp: In function ‘int main()’:
psle.cpp:7:21: error: expected ‘;’ before ‘}’ token
7 | if(a>=91){cout<<"A*"};
| ^
| ;
psle.cpp:8:1: error: ‘else’ without a previous ‘if’
8 | else if(a>=75){cout<<"A"};
| ^~~~
psle.cpp:8:25: error: expected ‘;’ before ‘}’ token
8 | else if(a>=75){cout<<"A"};
| ^
| ;
psle.cpp:9:1: error: ‘else’ without a previous ‘if’
9 | else if(a>=60){cout<<"B"};
| ^~~~
psle.cpp:9:25: error: expected ‘;’ before ‘}’ token
9 | else if(a>=60){cout<<"B"};
| ^
| ;
psle.cpp:10:1: error: ‘else’ without a previous ‘if’
10 | else if(a>=50){cout<<"C"};
| ^~~~
psle.cpp:10:25: error: expected ‘;’ before ‘}’ token
10 | else if(a>=50){cout<