Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

       

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 e) 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 e) Stop Enter your selection: 3 The multiple node embryo is added: 1 2 3 6 45 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 e) 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 e) 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 e) 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: e

Step by Step Solution

3.40 Rating (187 Votes )

There are 3 Steps involved in it

Step: 1

This program should be divided into 3 files one of which is programc for the main program and the menu program the second is listc which contains all ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Operations Management Creating Value Along the Supply Chain

Authors: Roberta S. Russell, Bernard W. Taylor

7th Edition

9781118139523, 0470525908, 1118139526, 978-0470525906

More Books

Students also viewed these Computer Engineering questions

Question

Explain the term robust design. Give an example.

Answered: 1 week ago