Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Melanie Jimenez
- #include<iostream>
- using namespace std;
- class rectangle
- {
- private:
- int rect1 width;
- int rect1 length;
- int rect2 width;
- int rect2 length;
- public:
- rectangle(int 5, int =10)
- void getwidth(int, int)
- void getlength(int, int)
- void showwidth()
- void showlength()
- }
- rectangle::rectangle(int width, int length)
- {
- rect1 width=width;
- rect1 length=length;
- }
Add Comment
Please, Sign In to add comment