How to sort a list of numbers in bubble?

  1. Write a program that lets the user type a list of single-digit numbers, with one blank between numbers, calls BUBBLE to sort them, and prints the sorted list on the next line. For example: enter elements: 2 5 8 0 1 after sorting: 0 1 2 5 8 3.
    For More Information Please Refer:
    You May Also Like to Read:
    How to sort an array in 8086 language?