Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Finding max 3 elements of a 2 dimensional array

, 12 Nov 2012
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...

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 12-Nov-12 10:46 Available Nelek
Updates in content. 277 changes had been made.
1 No 12-Nov-12 10:44 Available Nelek

License

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

About the Author

Nelek
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 have worked a time with VC++ 6 but I now am more orientated to industry and roboter programming.
 
At the moment learning C# in my spare time (which is not so much)

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 12 Nov 2012
Article Copyright 2012 by Nelek
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid