Cognizant Interview Question

write code to find the second largest number,