Description
CSIS 312 Assignment 5 LinkedList Object
Assignment 5-1
Write a program that inserts 25 random integers from 0 to 100 in order into a LinkedList object.
The program must:
- sort the elements,
- then calculate the sum of the elements, and
- calculate the floating-point average of the elements.
Assignment 5-2
Write a program that creates a LinkedList object of 10 characters, then creates a second LinkedList object containing a copy of the first list, but in reverse order. Print out both LinkedList’s starting with the first list in list order.
Reviews
There are no reviews yet.