kozubovskyy

cerchioo.h

May 19th, 2022
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #ifndef CERCHIOO_H
  2. #define CERCHIOO_H
  3.  
  4.  
  5. class cerchioo
  6. {
  7. public:
  8. cerchioo();
  9. cerchioo(float r);
  10. virtual ~cerchioo();
  11. cerchio(float r);
  12. void setRaggio(float r);
  13. float getRaggio();
  14. void calcolaArea();
  15. void setArea(float r);
  16. float getArea();
  17.  
  18.  
  19. protected:
  20.  
  21. private:
  22. float raggio;
  23. float circonferenza;
  24. float area;
  25. };
  26.  
  27. #endif // CERCHIOO_H
  28.  
Advertisement
Add Comment
Please, Sign In to add comment