Find the area of the square using class in c++ program?
Answers
Answered by
1
Answer:
- square.h. using namespace std; class Square { private: int length, area; public: Square(int length = 0); int getLength()const; void setLength(int length); int getArea() const; };
- square.cpp. ...
- circle.h.
Explanation:
l hope this answer will help you
good morning
have a nice day ahead
Similar questions