Question: URGENT PLS SOLVE AS SOON AS POSSIBLE NOTE: PLEASE ANSWER IN C LANGUAGE PLEASE USE COMMENTS WHENEVER REQUIRED IN CODE Write a C program that

URGENT PLS SOLVE AS SOON AS POSSIBLE
NOTE: PLEASE ANSWER IN C LANGUAGE PLEASE USE COMMENTS WHENEVER REQUIRED IN CODE
Write a C program that allows a user to find the most popular music in the last five decades. Maintain a record of music having two members, decade and number of likes given by 5 users. There should be 5 decades: 1980, 1990, 2000, 2010, 2020 (Array of structures). a. The program will start with zero records and will initially ask the user whether they want to enter a record for music likes. If yes, then the program will add the record to the current database of records (use dynamic memory allocation). If no, then the program should show the user all the records currently stored in the database (Max five records can be added). b. Write a function that will take as input a decade (eg 2020) and will output the rank of the decade based on the number of likes. Rank will be calculated as: total number of likes for all the five users... arranged in descending order. Decade 1980 1990 2000 2010 2020 10 20 30 5 40 User Likes 10 20 30 5 40 10 20 30 5 40 10 20 30 55 40 10 20 30 5 40 Write a C program that allows a user to find the most popular music in the last five decades. Maintain a record of music having two members, decade and number of likes given by 5 users. There should be 5 decades: 1980, 1990, 2000, 2010, 2020 (Array of structures). a. The program will start with zero records and will initially ask the user whether they want to enter a record for music likes. If yes, then the program will add the record to the current database of records (use dynamic memory allocation). If no, then the program should show the user all the records currently stored in the database (Max five records can be added). b. Write a function that will take as input a decade (eg 2020) and will output the rank of the decade based on the number of likes. Rank will be calculated as: total number of likes for all the five users... arranged in descending order. Decade 1980 1990 2000 2010 2020 10 20 30 5 40 User Likes 10 20 30 5 40 10 20 30 5 40 10 20 30 55 40 10 20 30 5 40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
