Question: Project(Library) - sortDataByTitle: In this function Data will be sorted in descending order based on book title. To save data to file or print the
Project(Library) - sortDataByTitle: In this function Data will be sorted in descending order based on book title. To save data to file or print the data on the screen after sorting in file you can use function saveData , or displayData . - Note: array of struct is treated like normal array . - Name : sortDataBy Title - Return type: void - Formal parameter: array of struct - Write this function using bubble sort algorithm for sorting the elements of the array of struct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
