Write a class, FindSmallest, that finds the value and position of the smallest element in an arbitrary array.
Write a class that makes an instance of the FindSmallest class and give the array values.
Loop through all elements in the array except the first. The smallest value is initially the first value in the array.
Here we can see that the smallest value in the array is the element in position 5 with the value 2.