Reference no: EM132154805
Use C++ to:
1. Create a program that prompts an employee to enter information for Movie or Music in an online store.
2. Based on the selection, create a class named Media that then prompts the user to input the appropriate information for the media and stores it in media.
3. Music Titles in the online store have everything that Movie titles have, except for one extra identifying field: Artist.
After completing this, the information should be output to the screen.
EXAMPLE 1:
Enter Media ID: 001
Enter Media Title: Beasts of No Nation
Enter Media Genre: Drama
Enter Current Status: Available
Enter Media Type: MOVIE
****Print Out********
Media ID: 001
Media Type: MOVIE
Media Title: Beasts of No Nation
Genre: Drama
Current Status: Available
EXAMPLE 2:
Enter Media ID: 002
Enter Media Title: Hello
Enter Media Genre: Pop
Enter Current Status: Available
Enter Media Type: MUSIC
Enter Artist:
****Print Out********
Media ID: 002
Media Type: MUSIC
Media Title: Hello
Artist: Adele
Genre: Pop
Current Status: Available