Question: This program must be able to add an embryo in the middle of the list to a free location and remove a optional embryo from

This program must be able to add an embryo in the middle of the list to a free location and remove a optional embryo from the list. This program should be divided into 3 files, one of which is program.c for the main program and the menu program, the second is list.c, which contains all the subroutines that handle the list, and the third file is list.h, which contains defined the record used and presented all the subroutines in the list. List header file (header-file, .h) is added to all C files that use this. structure or defined in the list.c file subroutines.

How the program should work

This program manages the list and its items. 1) Create a list 2) Add an item to the end of the list 3) Insert an item in the middle of the list 4) Clear the list 5) Remove the item from the list 6) Print the list 0) Stop Enter your selection: 1 Enter the length of the list: 5 1 2 3 4 5 1) Create a list 2) Add an item to the end of the list 3) Insert an item in the middle of the list 4) Clear the list 5) Remove the item from the list 6) Print the list 0) Stop Enter your selection: 3 The multiple node embryo is added: 1 2 3 6 4 5 1) Create a list 2) Add an item to the end of the list 3) Insert an item in the middle of the list 4) Clear the list 5) Remove the item from the list 6) Print the list 0) Stop Enter your selection: 3 The multiple node element is added: 1 7 1 2 3 6 4 5 1) Create a list 2) Add an item to the end of the list 3) Insert an item in the middle of the list 4) Clear the list 5) Remove the item from the list 6) Print the list 0) Stop Enter your selection: 3 The multiple node embryo is added: 7 1 2 3 6 4 5 8 1) Create a list 2) Add an item to the end of the list 3) Insert an item in the middle of the list 4) Clear the list 5) Remove the item from the list 6) Print the list 0) Stop Enter your selection: 6 7 1 2 3 6 4 5 8 1) Create a list 2) Add an item to the end of the list 3) Insert an item in the middle of the list 4) Clear the list 5) Remove the item from the list 6) Print the list 0) Stop Enter your selection: 0 Thank you for using the program.

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!