sort by best latest
This is very basic stuff, mate. I think you should have a go at it yourself.
I'll give you a clue, use a FOR loop and a variable.
You can help the HubPages community highlight top quality content by ranking this answer up or down.
And a comparison, and keep track of the index of the element that is the largest, so far, in the loop.
Copyright © 2017 HubPages Inc. and respective owners. Other product and company names shown may be trademarks of their respective owners. HubPages® is a registered Service Mark of HubPages, Inc. HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.
Copyright © 2017 HubPages Inc. and respective owners.