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
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions