The program will run in batch mode using **Unix redirection**. The first value in the data file will be an integer that represents the number of minutes available on one side of the tape. The remaining data in the file will consist of a series of songs (1 per line). The first 2 values on each song line will represent the length of the song (minutes and seconds). The remainder of the line will contain the title of the song. The title may not be in a conventional capitalization format and the maximum length of a title (including blanks) will be 30 characters.
**PROCESSING** The program should keep processing data until the end of file is reached or until as many songs that will fit completely have been recorded (whichever comes first). Remember, that each line in the test data file will end with a linefeed. **Use functions to make processing more efficient.** Strings can and should be used to store the song titles. Any other type of array may **NOT** be used in this program.
5 30 september grass
4 23 OCTOBER ROAD
5 25 on THE 4th of JULY
2 43 Whenever you're ready
2 0 belfast TO boston
TITLE LENGTH TOTAL TIME
September Grass 5:30 5:30
October Road 4:23 9:53
On The 4th Of July 5:25 15:18
Whenever You're Ready 2:43 18:01
4 song(s) were recorded.
Time remaining on the tape is 1:59
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).