Question: ( in c + + ) Write a program that displays a menu which: asks the user to add or remove nodes to a linked
in c
Write a program that displays a menu which:
asks the user to add or remove nodes to a linked list
includes an option to display the list values
Use the code down below and complete it
#include
#include
using namespace std;
struct node
int number;
node next;
;
bool isEmptynode head;
char menu;
void insertAsFirstElementnode &head, node &last, int number;
void insertnode &head, node &last, int number;
void removenode &head, node &last;
void showListnode current;
int main
node head NULL;
node last NULL;
char choice;
int number;
cout endl;
systempause;
return ;
bool isEmptynode head
insert body
char menu
insert body
void inserAsFirstElementnode &head, node &last, int number
insert body
void insertnode &head, node &last, int number
insert body
void removenode &head, node &last
insert body
void showListnode current
insert body
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
