Program to enter n set of elements inside 1-D array and arrange these elements using bubble sort & selection sort.

Selection Sort:

 

Bubble Sort:

 

Output [Selection Sort]:

selection

Output [Bubble Sort]:

bubble

Leave a Reply

Your email address will not be published. Required fields are marked *