Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Copyriht 2013, Denais Raibey Page I of 4 (3 Parts) HW 3a -Create an array-based Unsorted List data structure Write a program that implements an

image text in transcribed
image text in transcribed
image text in transcribed
Copyriht 2013, Denais Raibey Page I of 4 (3 Parts) HW 3a -Create an array-based Unsorted List data structure Write a program that implements an UnsortedList ADT. The list will hold up to 10 unsorted integer values. - When the list is initially created, it should be empty. Numbers can be inserted into the list (as long as the list is not full). - Numbers can be deleted from the list (as long as the list is not empty). - The list will be an array-based list Project: HW 3a3 Files: UnsortedList.h UnsortedLIst.cpp main.cpp Note: Most of the code for this project is in the lecture notes. 1.) UnsortedList.h - This file contains an UnsortedList class specification - Private data members: numbers An array that holds integer values. Maximum number of items in the list is 10. (MAX SIZE 10) o length A variable to keep track of the length of the list. Include these 6 methods: 6Public methods. Default constructor Sets the list to an empty list. Destructor insertItem end of the list. deleteltem - An item is deleted from the list. An item is inserted into the list " An item (integer) is passed from main) to the function, and inserted at the . . An item (integer) is passed from main) to the function. " Starting at the beginning of the list, the item passed from maino is compared If the value from maino is equal to a value in the list, then the list item is . If there is not an item in the list equal to the value from main0, then an output each item in the list. Item has been deleted deleted, and an output message should display: message should display: Item is not in list

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

new product development process

Answered: 1 week ago