Problem
Write a program that inserts 20 random integers from 0 to 100 in order in a linked list object. The program will make another linked list, but with 15 random integers from 0 - 100 in order. The program then will merge those two ordered linked list into a single ordered list.
The function merge receives references to each of the list objects to be merged and a reference to a list object into which the merged elements will be placed. There should be no duplicate numbers in the final list.
Calculate the sum of the elements and the floating-point average of the elements.
Don't use the STL linked list, I need someone to build a linked list.