Write Rectangle class, with proper member data and member functions. Write a program that dynamically allocates an
Fantastic news! We've Found the answer you've been seeking!
Question:
Write Rectangle class, with proper member data and member functions. Write a program that dynamically allocates an array of Rectangle objects after asking the user about the number of rectangles. Initialize each rectangle from the user. Find the largest rectangle in the array first on the basis of area and then on the basis of the perimeter.
Related Book For
Posted Date: