Please help me on this question in C++:
Carol has written a class called Rectangle with member functions getLength(), getWidth(), and calcArea() to return the associated data members. Regina has written a program to use the Rectangle class and has enhanced her program by adding a displayRectangle function to display the rectangle objects's data members length. width and area.
Regina's funtion has a Rectangle object parameter named rect that is passed by reference. Show the code for Regina's function using the information given.
Thank you so much