What is functional decomposition


Problem:

You are burning some music CDs for a party. You've arranged a list of songs in the order in which 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 well they fit.

Question- Using functional decomposition, write program in C++ to help you do this. The data will be read from an input file called songs.dat which you will create at your local machine and its data is shown below. The duration of each song read from songs.dat is recorded in seconds. Hence, if the data read from file is 310, it means that the song's duration is 310 seconds. You will need to convert this to minutes and seconds, which will yield 5 minutes and 10 seconds.

Any help would be greatly appreciated!

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What is functional decomposition
Reference No:- TGS0893003

Expected delivery within 24 Hours