Define a class C1. Declare an object x of class C1 in the class definition of C2. Show how C2 can have access to the public data members and member functions of C1. C1 has an integer data member, a function to assign the passed value to this member and another function to return the value. Your main should read the integer from an input data file, and write the output to the output data file.
Create the following:
1. your .cpp code, [not in a word document]
2. the input .DAT file,
3. the output .DAT file and
4. the execution screenshot