Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef RETTAGOLO
- #define RETTAGOLO
- #include <iostream>
- class Rettangolo
- {
- public:
- Rettangolo(float b, float a);
- Rettangolo();
- float Area();
- float Diagonale();
- float Base()
- { return m_base;}
- float Altezza()
- { return m_altezza;}
- protected:
- float m_base;
- float m_altezza;
- };
- std::ostream& operator<<(std::ostream &o, Rettangolo r);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement