Question: Please answer this. need this urgently! Task-1: Recently, you have completed dynamic memory allocation and class & objects concepts in your Data Structure Lab course.

Please answer this. need this urgently!
Task-1: Recently, you have completed dynamic memory allocation and class \& objects concepts in your Data Structure Lab course. You have to complete the following tasks for the given UML diagram. [Hint: For a Rectangle, Area =w1 and Perimeter =2(w+1)] (a) Convert the UML diagram into codes (Rectangle.h, Rectangle.cpp). [5] (b) Write down a driver file (main.cpp) to test your program that creates two instances of the Rectangle class by user input values. You must show the sample outputs using the print method. [5]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
