+ 3

Code not working

This is the exercise in the java intermediate course. I had written following code but it is showing a error. Please fix it https://code.sololearn.com/cPU88c4WEvfl/?ref=app

15th Mar 2023, 3:00 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
3 odpowiedzi
+ 2
Just remove the brackets () like this case MEDIUM:
15th Mar 2023, 3:05 PM
Stefanoo
Stefanoo - avatar
+ 3
Thanks Stefanoo
15th Mar 2023, 3:06 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar