Question: Assignment 5-1 (35 Points) Write a program that inserts 25 random integers from 0 to 100 in order into a LinkedList object. The program must:
Assignment 5-1 (35 Points)
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 (35 Points)
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 LinkedLists starting with the first list in list order.
Step by Step Solution
There are 3 Steps involved in it
To provide a more detailed answer for the assignments as requested lets break down each problem with a comprehensive explanation of each step in the solution focusing on clarity and additional conside... View full answer
Get step-by-step solutions from verified subject matter experts
