Question: 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
- Overload the greater than (>=) operator for the rectangleType 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
Get step-by-step solutions from verified subject matter experts
