H!

Aim of my program is: Write a program using recursive function for sorting numbers entered by user without using array concept to hold elements/numbers.

Output of the program will be as follows:
Enter the number of elements you want to sort: 12
Enter the elements for sorting: 3 7 12 2 9 16 6 19 5 1 21 0
Elements after sorting: 0 1 2 3 5 6 7 9 12 16 19 21

So, please help me for writing this program code!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.