Commit 69c441bf authored by h702579998's avatar h702579998

Added functionality for the addatend in main.c

parent 0d424f97
......@@ -16,7 +16,10 @@ int menu(struct Node *head){
switch(choice)
{
case 1: //append
// break;
fputs("You have decided to insert a value at the end. Input the desired value now: \n",stdout);
scanf("%d",&value);
add_to_end(head, value);
break;
case 2: //delete node
// break;
case 3: //insert
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment