Computer Science, asked by sureka20cs44, 2 months ago

Find the area of the square using class in c++ program?​

Answers

Answered by prajapatijigar656
1

Answer:

  1. 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; };
  2. square.cpp. ...
  3. circle.h.

Explanation:

l hope this answer will help you

good morning

have a nice day ahead

Similar questions