Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

Students also viewed these Databases questions