Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need i full code using c (array based list or linked list) or any anthor method Objective Develop a C program on UNIX system. Description

need i full code using c
(array based list or linked list)
or any anthor method
image text in transcribed
Objective Develop a C program on UNIX system. Description Write a C program that deals with Lists. List is collection of elements of same type. You need to develop a list to store ID numbers of students (maximum 100 students). Your program should do each of the following operations on the list: 1. Add new student to list by ID ((duplicate is not allowed)). 2. Remove student trom list by ID. 3. Print the number of current students in the list. 4. Locate student in the list Search about ID and return its position. 5. Swap two IDs in the list. 6. Print 1Ds in the list. 7. Exit. You should implement each operation in separate function. The main function will declare an empty list, show the menu of operations, read the user's choice, then call these functions as appropriate. The maln function MUST not contain any details about operations. Atter your program read the user's choice, it should perform the operation (if possible) and display an appropriate output or error message, then show the menu of operations again untilithe user selects to exit. Required Files: Your Program must contain: 1. One header fle that contains functions' prototypes, struct definition and any other needed definitions. 2. Two source files: a. The first one contains the implementation of main function only. b. The second one contains the implementations of all required functions except main. 3. Makefile that contains the rules of creating the object files and executable file of your program. 4. Pdi file contains screen shots of the execution of your program on your terminal. Programwing Assignment ant Fall Semester 2022-2023 NES 202 1 Submission Rules: - Put all needed files in one archive file and compress is then upload the compressed archive file on the link of submission on E-leaming. - Zero credit will be assigned for each program that has compile error or cheating case. - Partial credt will be given to programs that executed correctly but give different results than the required in description above. - One submission per group ((2 students per group)). Important Notes: - The execution of your program will be done using make command only. - You should write your names and ids in the top of each file as comments. - You should format your output to be clear and meaningful. - You can get help in C programming trom chapter 15 in textbook

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

What is the orientation toward time?

Answered: 1 week ago

Question

4. How is culture a contested site?

Answered: 1 week ago