Sort game under algorithms stl module

unable to solve the problem…

it is simple sorting question with only one extra point
that is in this problem you have to use sort function with your own compare function
in that compare function code the given requirement

and after sorting just print the only those employees whose salary is greater than or equal to x

now try at your own
after trying you can take help from this code

if your doubt resolved plz give your feedback please rate your experience here
else feel free to ask doubt

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.