Question: ( 6 ) Implement the Remove song function. Prompt the user for the unique ID of the song to be removed. ( 4 pts )
Implement the "Remove song" function. Prompt the user for the unique ID of the song to be removed. pts
Ex:
REMOVE SONG
Enter song's unique ID:
JJ
"All For You" removt
Implement the "Change position of song" menu option. Prompt the user for the current position of the song and the desired new position. Valid new positions are the number of nodes If the user enters a new position that is less than move the node to the position the head If the user enters a new position greater than move the node to position the tail cases will be tested:
Moving the head node pt
Moving the tail node pt
Moving a node to the head pt
Moving a node to the tail pt
Moving a node up the list pt
Moving a node down the list pt
Ex:
CHANGE POSITION OF SONG
Enter song's current position:
Enter new position for song:
"Canned Heat" moved to position
Implement the "Output songs by specific artist" menu option. Prompt the user for the artist's name, and output the node's information,
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
