Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# using Visual Studio Create a C# console project named MyPlayList. Create an Album class with 4 instance variables to keep track of title, artist,

C# using Visual Studio

Create a C# console project named MyPlayList.

Create an Album class with 4 instance variables to keep track of title, artist, genre, and copies sold. Each instance variable should have a get/set property. Your Album class should have a constructor to initialize the title. In addition, create a public method in the Album class to calculate amount sold for the album (copies sold * cost_of_album). You determine the cost of each album. Also create a method in the Album class to display your information. Should look something like this:

The album Tattoo You by the Rolling Stones, a Rock group, made $25,000,000.

In your main method, create 3 instances of the Album class with different albums, use getters to set values of the artist, genre, and copies sold. And then display information about each on the console.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Step: 3

blur-text-image

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

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

Evaluating Group Performance?

Answered: 1 week ago

Question

Define Management by exception

Answered: 1 week ago

Question

Explain the importance of staffing in business organisations

Answered: 1 week ago

Question

What are the types of forms of communication ?

Answered: 1 week ago