Given: struct Composer { string First; string Last; }; struct Label { int Catalo
ID: 3658684 • Letter: G
Question
Given:
struct Composer
{
string First;
string Last;
};
struct Label
{
int CatalogNumber;
string Name;
};
struct DateData
{
int RecordingYear;
int ReleaseYear;
};
{
Composer ctrack;
Label ltrack;
string Film;
};
const int ARRAY_SIZE=50;
struct Soundtrack
{
int A[ARRAY_SIZE);
Composer ctrack;
Label ltrack;
string Film;
};
1. Assign the following values to the first 2 elements in the Soundtrack array:
Field Name Value Set 1 Value Set 2
First Miklos Elmer
Last Rozsa Bernstein
Catalog Number 72197 VCL 8124
Recording Year 1959 1963
Release Year 1996 2004
Name Rhino Varese Sarabande
Film Ben-Hur The Great Escape
2. Create a function to display all the data in
the Soundtrack array.
3. Write a function call to the function
you created.