
ECET 370 ECET370 Homework 5 Solution
ECET 370 Homework 5 (DEVRY)
Objective:
Write a program to create a sorted linked list of user-defined size. The values of the linked list should be 0,5,10,15…… Create a menu in a while loop that offers the option to print the list and insert a value. The value should be automatically inserted in the correct location based on the size of the value. For example 57 should be inserted between 55 and 60. Values below 0 and higher than the highest list value should give error messages. If the value is already in the list an error message should occur.
Tools required: PC & Visual studio software
Code: