Question: Solve these problems: PROBLEM 3 For this problem you will write a program that, given a list of songs and their release year, shows the

Solve these problems:

Solve these problems: PROBLEM 3 For this problem you will write aprogram that, given a list of songs and their release year, shows

PROBLEM 3 For this problem you will write a program that, given a list of songs and their release year, shows the user: the newest song, the oldest song, and a random song recommendation (a randomly picked song from the list of songs). Consider the list of songs (songs) and their corresponding release year (songsReleaseYear) given below. These lists are related by index, that is, for each i, the ith value in songseleaseYear represents the release year for the ith song in songs. string songs[12] = f"We Found Love", "Old Town Road", "Somebody That I Used To Know", "Despacito", "Rolling in The Deep", "Without Me", "Call Me Maybe", "Perfect", "Blurred Lines", "I Like It", "Just The Way You Are" "; int songsrealeaseYear[12] ={2011,2020,2012,2017,2011,2019,2012,2013,2017,2018,2010}; After completing your program, this is what you should see when you run it (notice that the song recommendation might be different as it is randomly selected): Newest Song in the List: 0ld Town Road Oldest Song in the List: Just The Way You Are Random Song recommendation: Somebody That I Used To Know The program must display: 1. the newest song according to its release year 2. the oldest song according to its release year 3. a song recommendation: a randomly picked song from the list of songs. The arrays below (singersNames and singersAge) contain the names of some singers and their corresponding ages. Write a C++ program that will ask the user to enter a number and it will then display the singers who have that age. string singersNames[18] = \{"Jay Z.", "Eminem Mathers", "Beyonce Knowles", "Cardi B", "Shawn Mendez", "Taylor Swift", "lggy Azalea", "Drake Graham", "Kanye West", "Chris Martin", "Ariana Grande", "Camila Cabello", "Dr. Dre", "Chance the Rapper", "The Weeknd", "Rihanna", "Bruno Mars", "Billie Eilish"l; int singersAges [23]={52,49,40,28,23,31,31,35,44,44,28,23,56,28,31,33,36,20}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!