Click here to Skip to main content
15,904,023 members
Articles / Programming Languages / Visual Basic

Finding max 3 elements of a 2 dimensional array

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
12 Nov 2012CPOL 0  
Use a nested loop to go through the 2d array then you can ask,if actual value is bigger than the first maximum, save the second maximum in the third position and the current first maximum in the secon position, then save actual value in first position. Then check the next number.if actual...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer
Germany Germany
I come from Spain. After making a lot of silly things during the studies, I wanted to correct me and to make something positive with my life, so I asked for (and got) an “Erasmus” scholarship to go to Germany. After obtaining a placement to make my Thesis in a Firm of Automation and Software development, I reached the double Degree in Electronics’ Engineering and Informatic. I worked a time with VC++ 6, many years with industry PLC and robot programming, done backbone IT for something related to car electronics and production, back to my roots in C++ and PLC Programming again and currently working as system architect for my division.

I contrinue trying to learn more C# in my spare time (which is even less than before, God bless my kids)

Comments and Discussions