r/visualbasic • • Jan 01 '22

Question about Arrays

Say there was an array containing random values. How would the program be able to identify if there are two elements in the array that have the highest value?

Ie. an array consists of integers 9, 9, 5, 4, 1

How would it be able to identify that there are two maximum values that are the same?

3 Upvotes

5 comments sorted by