Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the LinkedList and OrderedLinkedList class files in the DropBox folder to create an ordered linked list object Step 1: Use the rectangle.h and rectangle.cpp

Use the LinkedList and OrderedLinkedList class files in the DropBox folder to create an ordered linked list object

  • Step 1: Use the rectangle.h and rectangle.cpp class files from the DropBox folder
    • Overload the greater than (>=) operator for the rectangleType class
      • Define greater than as the area of one object greater than the other
    • This operator is used in the insert() and deleteNode() methods of the orderered linked list class
  • Step 2: Write a program to use the Ordered Linked List
    • Create an ordered linked list object
    • Process rectangle objects in the Ordered Linked List object
    • Create a menu to do the following
      • Add a rectangle object to the list
      • Delete a rectangle object from the list
      • Print the list. Print the area of each rectangle in the linked list
      • Display the number of rectangle objects in the list

I can't put the required files into this because the website gives me an error saying all the code make it too long of a question. I have a DropBox folder with the four files required for the program to work, can I include a link to it?

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

More Books

Students also viewed these Databases questions

Question

7-16 Compare Web 2.0 and Web 3.0.

Answered: 1 week ago

Question

2. How much time should be allocated to the focus group?

Answered: 1 week ago