give the description to illustrate the program and mostimportantly Please give clear and appropriate flowchart andalgorithm description.
**7.18 (Bubble sort) Write a sort method that uses thebubble-sort algorithm. The bubblesort
algorithm makes several passes through the array. On each pass,successive
neighboring pairs are compared. If a pair is not in order, itsvalues are swapped;
otherwise, the values remain unchanged. The technique is called abubble sort or
sinking sort because the smaller values gradually “bubble” theirway to the top
and the larger values “sink” to the bottom. Write a test programthat reads in ten
double numbers, invokes the method, and displays the sortednumbers.
Expert Answer
An answer
PayPal Gateway not configured
PayPal Gateway not configured