Here's the full problem: Here's the assignment: You are burning music CD's for a party. You've arranged a list of songs in the order you want to play them. However, you would like to maximize your use of space on the CD, which holds 80 minutes of music. So, you want to figure out the total time for a group of songs and see how they fit. Write a C++ program to help you do this. The data are on file songs.dat. The time is entered as seconds, but the output converts the seconds to minutes and seconds. After all the data has been read, the application should print a message indicating the time left on the CD. The output should be in the form of a table with columns and headings written on a file.. FOR EXAMPLE:
Song Song Time Total Time
Number Minutes Seconds Minutes Seconds
1 5 10 5 10
2 7 42 12 52
5 4 19 17 11
4 4 33 21 44
3 10 27 32 11
7 8 55 41 6
6 5 0 46 6
There are 33 minutes and 54 seconds of space left on the 80 minute CD.
Here's my code so far...