Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create a class called music library with the following attributes:
- - Album Name
- - Performer
- - Songlist
- - Cost
- Read from a file: a list of album info
- Load the file into class structure and create methods for:
- (example for each line: "AlbumName|Artist|SongName1,SongName2,SongName3|Price")
- - adding an object from keyboard
- - printing the items in the class
- - finding the total value of the collection
- - finding a specific song
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement