Question: Create a program named arrayList.cpp. In that program, add the following functions. void Insert(int data[], int item, int& length); bool isEmpty(int[], int size); bool isPresent(int

Create a program named arrayList.cpp. In that program, add the following functions.

void Insert(int data[], int item, int& length);

bool isEmpty(int[], int size);

bool isPresent(int data[], int item, int length);

void Delete(int data[], int item, int &length);

void printList(int data[], int length);

sample output:

Create a program named arrayList.cpp. In that program, add the following functions.

1. Insert 15, 39, -90, 64 into a list. Now, 15, 39, -90, 64, are in the list. 2. The current lenght of the list is 4 3. Check whether 39 is in the list. The number is in the list. Delete 39. Now, 15, 64, -90, are in the list. De lete -90, 15, 64 sequentially The list is empty. Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!