Answer:
remember first element in the array as smallest
interate through array, for each number:
if it is smaller than the remembered smallest, remember this number in stead
Step-by-step explanation:
The order of this algorithm is linear, which means the run time of the code increases linear with the size of the array.