SHARE
TWEET

Untitled

a guest May 22nd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef CLIONPROJECT_RECTANGLE_H
  2. #define CLIONPROJECT_RECTANGLE_H
  3.  
  4. class Rectangle {
  5. private:
  6.     double _length, _width;
  7.  
  8. public:
  9.     double getLength();
  10.  
  11.     bool setLength(double length);
  12.  
  13.     double getWidth();
  14.  
  15.     bool setWidth(double width);
  16.  
  17.     double Perimeter();
  18.  
  19.     double Area();
  20.  
  21.     bool IsSquare();
  22. };
  23.  
  24. #endif //CLIONPROJECT_RECTANGLE_H
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top