Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

11:48 Il Homework4.pdf CSC 212 Homework 4 Due: March 6, 2019 11:59 pm (CST) 1. Modify the provided LinkedList class to inclade the following member

image text in transcribed
11:48 Il Homework4.pdf CSC 212 Homework 4 Due: March 6, 2019 11:59 pm (CST) 1. Modify the provided LinkedList class to inclade the following member functions a. beol isEmptyO . isEmpty returns true if the list is empty (first is NULL) or false b. void deleteltem(int value) deletcliem scarches for the node with the given value and then removes that node from the list by deallocating that node with the delete operator c. Remember, you must update your pointers in order to keep your list intact 2. In your main function: Create a new LinkedList objest Use a for loop to ask the user to enter 5 numbers, adding each number into the list . . Display the list. Unti il the list is empty, keep doing the following o Ask the user to enter a number to delete, and delete it from the list Display the updated list o . DO NOI submit only the provided code as your solution. This will result in a grade ofo. Homework Submission .You will need to submit a zipped file containing all your source code o linkedList.h o linkedList.cpp main cpp . If you are using OnlineGDB, then just save your project and download it from the My Projects page; it should be a zipped file (but please verify that all your code is in in) o If you are using Cygwin/command line, use the following command to zip your files: zip homework4.zip linkedList h linkedList.cpp main.cpp This creates a zipped file named homework4.zip which contains all of your source files

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

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

3. Does operations and process management have a strategic impact?

Answered: 1 week ago