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
Computer Science,
1 month ago
Social Sciences,
1 month ago
English,
3 months ago
Economy,
10 months ago
Math,
10 months ago