Virtusa Interview Question

Write program to find the employee whose salary are greater than 50k. Reverse the number without any inbuilt function