Car Class Substitute - You can do this if you did not code the Car Class.

I want to keep track of songs an online store downloads. The store identifies the song by the artist and song name. It also keeps track of how many times the song is sold. Whenever a song is created, it should be set to 0 times sold. When you ask the user which song they want to download, increase the chosen song's times sold.

Specifics:

Create a song class with artist, song name and number of times sold. It should have a constructor that lets you create a song when you know the artist and song name, and the number of times sold should automatically be set to 0. It should have a method to printSong, and another to printSongNameandArtist. It should have a method to increase the number of times sold by a given number.

Create a songUser class with a main method that does the following:

- create 3 songs (and you can just create the song without asking the user what the song name is).

- print all the songs with their counts usint printSong.

- ask the user what song he wants to buy. He can enter 1 for the first song, 2 for the second, etc. When you ask the user, use printSongNameandArtist.to print the name of each song and artist.

- ask the user how many times he wants to buy the song.

- based on the user's answer, increase the chosen song's sale count by the number chosen.

- repeat the asking of the user and updating the sale count three times.

- print all the songs with their counts usint printSong.