Exercise 2: Bubble Sort




Document: Software Engineering 1: Course Notes

next Preparation
up Session 3: Week 5/6
previous Exercise 1: Matrix Multiplication

Exercise 2: Bubble Sort

Alter the Hooke's Law anagram program to read and sort a list of numbers (type double) into numerical order, then display the sorted list. Make the program request the length of list, then ask for the numbers one by one.



McMullin@ugmail.eeng.dcu.ie
Wed Mar 15 10:20:49 GMT 1995