<=Back
Write a C++ program to implement a class named Circle which has one data member and method named getData for input. Further the class has a friend class named Area with has a method named getArea to determine the area of a circle. The main function display the area of the circle .
 Viewed: 598 times
Share in: