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

Compile Error

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