Declare arr[5]Set arr(=4, 5, 7, 2, 5)fon 0 to 5for j = to 4Declare tIf(arr[j] < arr[j+1])t = arr[j]arr[i] = arr[j+1]arr[j+1] = t.End ifEnd for About the author Ruby
ooooooooooooooooooooooooooo