Question: note:ID number is 26564 Write C program that solves following tasks: 1) Declare a linked list data structure node with the following elements: an integer

 note:ID number is 26564 Write C program that solves following tasks:1) Declare a linked list data structure "node" with the following elements:

note:ID number is 26564

Write C program that solves following tasks: 1) Declare a linked list data structure "node" with the following elements: an integer number and a pointer to the next node. (5 points) 2) Asks the user to enter n numbers (of datatype integer) into a linked list. (5 points) 3) After the insertion of each number, the user is asked whether they wish to proceed with further insertion. (15 points) 4) Create a function called Create that inserts the data into the linked list. A new node should be inserted at the end (tail) of the linked list. One of the insertions should be your ID number. (35 points) 5) Create a function called Display that prints the numbers of the linked list. (15 points) 6) Create a function called DisplayEvenandCountNums that prints the even numbers of the linked list and counts them by returning the value to the main. Print the number of even numbers as per sample output. (25 points) You will be asked to enter numbers into a linked list. Enter number into the node: 1 Press 1 if you wish to enter more nodes. Otherwise, press @ to exit: 1 Enter number into the node: 2 Press 1 if you wish to enter more nodes. Otherwise, press @ to exit: 1 Enter number into the node: 3 Press 1 if you wish to enter more nodes. Otherwise, press o to exit: 1 Enter number into the node: 4 Press 1 if you wish to enter more nodes. Otherwise, press @ to exit: 1 Enter number into the node: 1234 Press 1 if you wish to enter more nodes. Otherwise, press @ to exit: 0 Displaying the elements in the linked list: 12 3 4 1234 Displaying the even elements in the linked list: 2 4 1234 You have inserted 3 even numbers. Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!