Due on or before October 4 at 11:59 PM.
For this assignment you will be creating and testing a rectangle class. Rectangle objects should store the size of a rectangle and be able to calculate things like the area and perimeter of 'themselves'. The rectangle class should have the following features:
To test the rectangle class, create at least three different rectangle instances (objects) and use them to test all of the above functions. Note that for the area() and perimeter() functions the main() function will need to print the results because they are not printed by the functions.
Turn in: Use the script command to demonstrate how your program runs. Place the output from the script command into a file named Assignment6output.txt. Turn in a copy of your program code and your Assignment6output.txt file to Canvas. If you can't finish all of the functionality, turn in as much as you have completed, but be aware that your program must compile and run in order to earn any credit.