C Programming20795 marksIntroduction to Array
Write a program to find the second largest number in the given array of numbers.
Write a program to find the second largest number in the given array of numbers. [5]
- Read N numbers into an array. 2. Find the largest element first. 3. Then find the largest element among all elements that are NOT equal to the largest -- that gives the second largest. --- --- --- Step What happens ------------------- First loop Reads N numbers into arr[] Second loop Finds lar...