MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / display_area

Method display_area

Lab_18/main.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33{
34public:
35 void display_area()
36 {
37 cout << "Area of triangle: " << 0.5 * base * height << endl;
38 }
39};
40
41// Rectangle class to calculate the area of rectangle

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected