Write a Shell program to find the 2 nd highest and 3 rd highest numbers from a
set of numbers and sum of the two numbers using array.
Answers
Answered by
0
Answer:
Explanation:
Check the array has atleast 3 elements
sort the array in ascending order
take the 2nd last and 3rd last element
Add them
print the result
Similar questions