Question: Please find errors, correct them if any, and apply them to show the output image Write the program in C ++ (oop) find the area

Please find errors, correct them if any, and apply them to showthe output image Write the program in C ++ (oop) find thearea of the circle?( use class). #includeciostream> #include using namespace std; classcircle { public: int r = 3; void show(); float a= 3.14Please find errors, correct them if any, and apply them to show the output image

Write the program in C ++ (oop) find the area of the circle?( use class). #includeciostream> #include using namespace std; class circle { public: int r = 3; void show(); float a= 3.14 * r * }; void circle::show r = a; }; void mian { circle circ; circ.show(); cout using namespace std; class room EL private: int x,y; int Area: public: void value () ">X; cout>y: } void process -1 area = xy; cout using namespace std; class rectangle DI public: int width, heilchi rectangle (int, int); int crea() return (width heilghr): rectangle Llanyle(int , int) width -a: height = 1 17 int main! Tertanggle tert 1 rectangle rect 2 13.6): cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!