Guest User

Untitled

a guest
Jan 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. // Melanie Jimenez
  2.  
  3. #include<iostream>
  4. using namespace std;
  5. class rectangle
  6. {
  7. private:
  8. int rect1 width;
  9. int rect1 length;
  10. int rect2 width;
  11. int rect2 length;
  12.  
  13.  
  14. public:
  15. rectangle(int 5, int =10)
  16. void getwidth(int, int)
  17. void getlength(int, int)
  18. void showwidth()
  19. void showlength()
  20. }
  21. rectangle::rectangle(int width, int length)
  22. {
  23. rect1 width=width;
  24. rect1 length=length;
  25. }
Add Comment
Please, Sign In to add comment