Question: Write a program in C that generates a list of random numbers greater than or equal to 0 and less than an upper limit of

Write a program in C that generates a list of random numbers greater than or equal to 0 and less than an upper limit of at least 100, stores them in a linked list, deletes adjacent numbers that are within 8 of each other and then prints out the list. The count of numbers and the upper limit on the numbers will be passed in on the command ine. You must check to make sure the count and upper limit have been passed in, print an error If you run this program multiple times with the same count and upper limit, you must get Create a thread for initial generation of the numbers and a separate thread for deleting message and exit if not. different lists of numbers. adjacent numbers You may: 1.) generate all your numbers in thread 1, then create thread 2 and have it run through the list deleting adjacent numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
