Selection Sort

Selection sort is a sorting algorithm that will sort an array of numbers.

Input five numbers ranging from 1 to 100 in random order:

Selection sort searches the entire array for the smallest number. When it finds the smallest number it will move it to [0] and [0] will be considered fully sorted.