Question: I NEED A CODE WHICH ADHERE TO ALL THE CONDITIONS GIVEN BELOW I DID A CODE BY MYSELF BUT THE OUTPUT IS NOT COMING SAME

I NEED A CODE WHICH ADHERE TO ALL THE CONDITIONS GIVEN BELOW I DID A CODE BY MYSELF BUT THE OUTPUT IS NOT COMING SAME AS THE MENU OPTIONS GIVEN BELOW AND THEY SHOULD EXTACTLY MATCH THEN ONLY THE TUTOR WILL MARK IT CORRECT. PLEASE READ ALL OF THE BELOW CONDITIONS AND IF ITS DISPLAYING ALL THE NECESSARY OUTPUT REQUIRED. RUBY LANGUAGE

You must use while loops for this task - do not usefor loops or other loops. Display a menu that offers the user

THIS IS THE ALBUMS.TXT FILE


the following options: 1. Read in Albums 2. Display Albums 3. Select

THIS IS THE INPUT FUNCTION RB FILE.


an Album to play 5. Exit the application Menu option 1 should

You must use while loops for this task - do not use for loops or other loops. Display a menu that offers the user the following options: 1. Read in Albums 2. Display Albums 3. Select an Album to play 5. Exit the application Menu option 1 should prompt the user to enter a filename of a file that contains the following information: The number of albums The first artist name The first album name The release date of the album The genre of the album The number of tracks The name and file location (path) of each track. The album information for the remaining albums.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

class Album attraccessor artist albumname releasedate genre numtracks tracks def initializeartist al... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!