Hi, I am suppose to run a for loop into an array of 26, 6 times. The point is to gather the six largest numbers and put them in ascending order. I have been trying everything for this and cannot come up with a solution. The directions I am given say use a for loop 6 times to get the 6 biggest numbers and then use a nested loop to iterate over the entire array. If there are numbers that are the same pick the one that comes first. Pleas help me I have other exams to study for and I need to move on. :/
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.