Task: Create a class Rectangle. Place the class in a .h file. This class should have the private member attributes: · Length · Width The class should have multiple constructors to handle the following: · Default constructor, defaults length and width to 1 · Constructor to set the length and width upon the instantiation of the class The class should also have the following methods (functions): · Display Area · Display Perimeter · Set Length · Set Width · Get Length · Get Width Implement the class in a .cpp file and write a simple driver file (.cpp) that demonstrates that all of the above is working correctly (i.e. make objects with and without data in the constructor, and call each method of the class). Instantiate an object with 4.5 and 8.9 as the length and width. Instantiate a object and allow the length and width to be set by user input. Allow the user to enter a new length and width until the user enters a 0 for length. For each object show the length, width, area and perimeter of the rectangle. The set functions should verify that the length or width are each larger than 0 and less than 20.0. If the width is not in that range, then it should default to 1. If the is not in that range, then it should default to 1. Below is an exact sample on how the program should work!
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
Windows Me Microsoft Office 2000 C++ Visual Studio