Khan.randRange(7, 9) bubsortPRO.initJSAV(arr_size)

Your task in this exercise is to show the behavior for one iteration of the outer for loop of Bubble Sort. Simply click on entries in the array to swap them in the way that Bubble Sort would during its first pass.

[bubsortPRO.userInput]
if (!bubsortPRO.checkAnswer(arr_size) && !guess[0]) { return ""; // User did not click, and correct answer is not // initial array state } else { return bubsortPRO.checkAnswer(arr_size); }

What does Bubble Sort do?

Move from left to right through the array.

At each position, if the value is greater than the value to its right, then swap them.