Please write in simple basic C language. Explain the steps please. Create a stru
ID: 3661429 • Letter: P
Question
Please write in simple basic C language. Explain the steps please.
Create a structure that has one variable called value and one pointer to the list (making it a linked list). Prompt for 5 values from the keyboard as input and store them in the linked list. Print out the current contents of the list. Allow the user to add one more value to the linked list, and print the contents of the list again.
Upon the user's selection, the program should execute the appropriate functions to satisfy the request.
Explanation / Answer
scanf("%d",&new_node->value);