Asked by Raj
Write a VB.NET program code to find second largest element in an array.
Answers
Answered by
oobleck
You can start with something like this, which finds the largest element.
Just keep track of two elements, rather than just one.
https://stackoverflow.com/questions/37789475/fetch-the-maximum-value-from-an-array
Just keep track of two elements, rather than just one.
https://stackoverflow.com/questions/37789475/fetch-the-maximum-value-from-an-array
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.