Advertisement
dmesticg

Monday Test

Apr 6th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Create a class called music library with the following attributes:
  2. - Album Name
  3. - Performer
  4. - Songlist
  5. - Cost
  6.  
  7. Read from a file: a list of album info
  8.  
  9. Load the file into class structure and create methods for:
  10. (example for each line: "AlbumName|Artist|SongName1,SongName2,SongName3|Price")
  11. - adding an object from keyboard
  12. - printing the items in the class
  13. - finding the total value of the collection
  14. - finding a specific song
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement