Question: Criteria.. -struct is defined will all requested variables - no errors in struct definition -main has struct object.. -struct object favorite Song is defined -Main

Criteria..
-struct is defined will all requested variables - no errors in struct definition
-main has struct object.. -struct object favorite Song is defined
-Main asks user for song information -All information is read and stored into the struct's variables. -please use getline function to read in the string inputs.
-favorite song information displays correctly -displaySong function is called correctly.
C++
Create a structure that will hold data for a song. A Song will contain the following information: songName of type string artist of type string albumName of type string length Minutes of type double yearReleased of type unsigned int . For the main program, create a Song object named favorite Song. Then ask the user for each of the pieces of information for their favorite song (.e. song name, artist, album name, length of song in minutes and the year the song was released). Store this information into the favorite Song object. Then once the information has been gathered, call the printSong function (add this function to your code). void printSong Song s) { cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
