Question: Write a C++ class having private variables and two member functions which will return the area of a rectangle and a triangle.
Write a C++ class having private variables and two member functions which will return the area of a rectangle and a triangle.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
