the output is according to given test case but on submitting no test cases passes
What is the problem in this code?
you have to consided those employees having salary greater than or equal to a given number x but you are only pushing those employees whose salary is greater than x. Change line 23 to if(salary>=l)