Code compiles and run successfully for public test case but private ones showing wrong answer

salary can be greater than or β€œβ€"β€œEQUAL”""
line 27 error