Question: Complete the main programs and writing its functions, classes and find the Area for each shape: 1- Main() { Circle C [3]={12,51,7}; C.setdate('3'); //

Complete the main programs and writing its functions, classes and find the Area for each shape: 1- Main() { Circle C [3]={12,51,7}; C.setdate('3'); // Circle class has private members: radius 2- Main() {Triangle T1 [3]={Triangle(3,7), Triangle(4,8),Triangle(7,9)}; //Triangle class contains the following private memebers (High,Base)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
