Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef GEOMETRIE_H
- #define GEOMETRIE_H
- class geometrie
- {
- public:
- geometrie();
- enum figure {cercle = 1, triangle = 2, rectangle = 3};
- void identify_figure(figure val);
- void airecircle(double rayon);
- void airetriangle(double cote, double hauteur);
- void airerectangle(int largeur, int longueur);
- void perimetrecircle(double d);
- void perimetretriangle(int c1, int c2, int c3);
- void perimetrerectangle(int largeur, int longueur);
- };
- #endif // GEOMETRIE_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement