For this program a class and a client must be made. The purpose of the second project is to demonstrate the use of friends and the use of a random number generator. You are to ask the user for the number of elements in a list (maximum 10). The random number generator will generate the number desired. The numbers will range from 1 to 7(also generated by a random number generator). Generate a second list in the same manner. You are then to determine the frequency of each number in both lists. For example list one : 4,2,1,5,4,3,6,7 list two : 7, 5,2,5,4 Final results should print out each number sorted in order of decreasing frequency ??" 4:3 5:3 2:2 7:2 3:1 6:1 1:1 The format of the output should be as shown where the number is to the left of the : and the frequency to the right. I would suggest the lists be represented by arrays and the frequency be associated with each number as needed. The arrays used must be dynamic and when the arrays are used, delete the memory. A friend function must be made for the output operator. Coding must be C++ not C. Any questions, please feel free to contact me.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
Microsoft Visual C++ 6.0 Windows 98