Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started