jonni21 / GoJavaOnline

A place for my hometsaks at "Go Java Online" course
0 stars 0 forks source link

Hometask for module 7 #3

Open jonni21 opened 8 years ago

jonni21 commented 8 years ago
if (isNewMinFound) {
                swap(inputArray, currentIndex, minIndex);
                isNewMinFound = false;
            }

I've forgoten to return the value of isNewMinFound to false in case if new minimal value is found. :scream_cat:

aslyvets commented 8 years ago

:+1: :+1: :+1: Excellent