Cognizant interview question

write code to find the second largest number,