Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

imageimage

THIS IS THE ALBUMS.TXT FILE


image

THIS IS THE INPUT FUNCTION RB FILE.


image

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

Step: 1

class Album attraccessor artist albumname releasedate genre numtracks tracks def initializeartist al... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

International Marketing And Export Management

Authors: Gerald Albaum , Alexander Josiassen , Edwin Duerr

8th Edition

1292016922, 978-1292016924

More Books

Students also viewed these Programming questions

Question

Avoid evasiveness. Be direct with your answers when possible.

Answered: 1 week ago