Answered You can hire a professional tutor to get the answer.
Write a program that will effectively implement the Bubble Sort algorithm. You can use an interface like the one I used in class (although you're...
Write a program that will effectively implement the Bubble Sort algorithm. You can use an interface like the one I used in class (although you're free to change it in any way you want!). Note that the program should be able to take input from a text file (that I will provide), store this data in an array, and then perform a sort on the data, and display the results on the screen. The program should be able to accommodate a file of random length, i.e. the file could have 2 items, 20 items, etc. There should also be a textbox on the form that will allow the user to enter a filename (we can assume for the purposes of this assignment that the file will always be located in the same directory as the application). Also, for the purposes of this assignment, you can assume that the input file will consist of only numbers, with one item per line. There are no special characters or spaces that need to be considered on each line. The form should display the original data in one list box, and the data after a single pass in another list box. There should be a "Sort" button, which will implement one pass of the Bubble Sort (again, like what was demonstrated in class). If a single click results in a completely sorted list, you most likely have not implemented this step correctly.