Question
Done In C programming. I need help with creating a doubly linked list for this struct. The user will enter the artist name, song name
Done In C programming. I need help with creating a doubly linked list for this struct. The user will enter the artist name, song name and rating. Then this gets store in a doubly linked list. I need the output to print the list but sort it. If there are items in this list with the same artist they are put beside each other. This also goes for the rating system. If two items have the same rating they are put beside each other in the list. The rating can only be between 1-4
struct songInfo{ int rating;
char *artist;
char *genre;
struct songInfo *next;
struct songInfo *prev;
}
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