Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a ct+ program to ask the user to input their 3 favorite songs and then display the data on the screen Use a structure
Write a ct+ program to ask the user to input their 3 favorite songs and then display the data on the screen Use a structure called SongData to store the following information about the song: songTitle artist albumTitle yearReleased The program should create an array of favorite songs using the SongData structure. It should then ask the user to input their 3 favorite songs using a function call getsongData (all it 3 times in a for-loop). The program should then print out all the information about the 3 favorite songs using a function called printSongData (again, call it 3 times in a for-loop)
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