2079 7

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]

  1. 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...
Up nextCreate a structure 'Employee' having Name, Address, Salary, and Age as member functions. D