Question: Write a program that allows the user to enter 10 songs and their artists into a playlist and will sort the entires by artist order.
Write a program that allows the user to enter 10 songs and their artists into a playlist and will sort the entires by artist order. The program should use a 10 element array of structure objects that holds two string variables: artist and title. Once the data has been read in and stored, it should sort the entries in the ascending order by artist. It should then display the sorted array with appropriate headings.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
