Write a C++ program that allow the user to set array size and give array input. After taking the input it will allow the
Posted: Mon May 02, 2022 12:37 pm
Write a C++ program that allow the user to set array size and give array input. After taking the input it will allow the user to select a sorting option.
There will be 4 category of sorting operation available. Buble sort, Insertion sort, Selection sort, merge sort.
After the selection of the sorting operation by user the program will output sorted array in ascending and descending order and will show the time used for the sorting operation.
Kindly use switch case to give the user the option to chose a sorting order.
There will be 4 category of sorting operation available. Buble sort, Insertion sort, Selection sort, merge sort.
After the selection of the sorting operation by user the program will output sorted array in ascending and descending order and will show the time used for the sorting operation.
Kindly use switch case to give the user the option to chose a sorting order.