Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone help me with this include.h part? I do not know what exactly I need to do to include.h. This only part I'm struggling

Can someone help me with this include.h part? I do not know what exactly I need to do to include.h. This only part I'm struggling with. ASAP???!!!!!

image text in transcribed
PART B - Linked Bag. 40 points - Please change only files: LinkedBag340.cpp and Include.h, no other files. - We are to implement 8 small additional functions and 2 helper functions to the Linked Bag. . Our programs must produce identical output to the output in the 2 sample runs: Asmt04_Run1.txt and Asmt04_Run2.txt . Our Test 9's output must also be identical to the sample output excepts the random values. . Our Test 9's random values in our 2 sample runs' output must be different. Descriptions of the 8 functions: Please ask questions, if any, during the in-class discussions and demos for this assignment. 1. removeSecondNode340 deletes the second node in the Linked Bag. 4 pts 2. addEnd340 inserts the new node at the end of the Linked Bag. 4 pts 3. getCurrentSize340Iterative counts the number of nodes in the Linked Bag iteratively. 4 pts 4. getCurrentSize340Recursive counts the number of nodes in the Linked Bag recursively. Use 1 helper function: getCurrentSize340RecursiveHelper. 4 pts 5. IMMEDIATE RECURSION: getCurrentSize340RecursiveNoHelper counts the number of nodes in the Linked Bag recursively. This recursive function does not use any helper functions. 8 pts 6. getFrequencyOf340Recursive recursively counts the number of times an entry appears in the Linked Bag. Use 1 helper function: getFrequencyOf340RecursiveHelper. 4 pts 7. IMMEDIATE RECURSION: getFrequencyOf340RecursiveNoHelper recursively counts the number of times an entry appears in the Linked Bag. This recursive function does not use any helper functions. 8 pts 8. removeRandom340 removes a random entry from the Linked Bag. 4 pts

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

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

What are today's prisons like? What purpose do they serve?

Answered: 1 week ago

Question

What is operatiing system?

Answered: 1 week ago