in reply to How to get the index of smallest whole number in an array?
If you want your homework done for you, you've come to the right place.