Question: Please Help me to create this program with C programing. this program use circular list in data structures. i hope you can give me code







Please Help me to create this program with C programing. this program use circular list in data structures. i hope you can give me code thank you

Learning Outcomes Demonstrate how to create any learned data structure Analyze the usage of data structure in application Topic Session 03 - Circular Single Linked List Sub Topics Pointer of Struct Malloc Free Operator Push Head Push Tail Push Middle Pop Head Pop Tail Pop Middle Soal Case Linguini owns a restaurant and wants to know the experiences of its customers. Therefore, as a friend of Linguini, you are asked to create a simple program with a circular linked list data structure to be able to add, delete, and sort Linguini's customer feedback data. The program outline is described below. The program will always display feedback data which contains some descriptions such as No, Customer's name, Customer's Age and Rating from the Linguini's Customer. This list can be empty, but it can also contain various data about Linguini's Customer. No. Customer I Age Rating no feedback data The program consists of 3 menus: 1. Add a feedback data 2. Delete a feedback data 3. Exit If user chooses (1.) Add a feedback data, then: users are asked to choose how to input data whether to add data [1] at the beginning or [2] at the end of the list. Input your choice : 1 1= add before the first feedback 2 = add after the last feedback Input your choice [1...2]: If user chooses to add before the first feedback, then the data will be added as the first record. However, if user chooses to add after the last feedback, data will be added as the last record. After adding data is successful, a message will appear stating the process was successful and this list will be updated according to the selected procedure. If user chooses (2.) Delete a feedback, then: users are asked to choose how to delete data whether to [1] delete the first data or [2] delete the last data. Input your choice : 2 1= Delete the first feedback data 2 = Delete the last feedback data Input your choice [1...2]: If user chooses to delete the first feedback data, then data in the first row (first data) will be deleted. However, if user chooses to delete the last feedback data, then the data in the last row (last data) will be deleted. - After deleting data is successful, a message will appear stating the process was successful and the list will be updated according to the selected procedure. If there is no data on the list, a message will appear stating that there is no data that can be processed. If user chooses (3.) Exit, then the program ends. Print Screen of Main Menu Resto Feedback No. Customer Age Rating no feedback data 1. Add a feedback data 2. Delete a feedback data 3. Exit >> Input your choice : Print Screen of Menu 'l' (insert data) Resto Feedback No. Customer Age I Rating no feedback data 1. Add a feedback data 2. Delete a feedback data 3. Exit >> Input your choice : 1 1- add before the first feedback 2= add after the last feedback Input your choice [1...2]: 1 Input customer's nane : Ani Input customer's age [1...100): 22 Input customer's rating (1...5): 5 successfully add a new feedback data Resto Feedback No. I Customer Age I Rating 1. Ani 22 5 I > Input your choice : 1 1 = add before the first feedback 2= add after the last feedback Input your choice [1...2]: 2 Input customer's name : Tini Input customer's age (1...100): 17 Input customer's rating [1...51: 4 successfully add a new feedback data No. I Customer Rating 1. Ani 2. i Tini Age 22 17 -- head > Input your choice : 2 1= Delete the first feedback data 2= Delete the last feedback data Input your choice ti...21: 1 successfully delete first feedback data No. Customer I Rating 1. Ani 2. | Tini Age 22 17 I I I I 5 4 > Input your choice : 2 1= Delete the first feedback data 2= Delete the last feedback data Input your choice [i...2]: 2 successfully delete the last feedback data Customer Age No. 1 1. i Ani Rating 5 22 > Input your choice : 2 1= Delete the first feedback data 2= Delete the last feedback data Input your choice [1...21: 2 no feedback data can be selected
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
