QUESTION
Question
NOTE: All questions attempted in visual studio.
Question 1:
Need C++ code
Suppose you have a class Rectangle with data members width and height. The public member functions of class Rectangle are as follows:
- setValues(int w, int h); // to set values of width and height of objects of Rectangle class
- int Area();// to find area of an object of rectangle class
- biggerRectangle(Rectangle A, Rectangle B); prints the rectangle details which is bigger.
Question2 :