Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include"geometrie.h"
- #include"geometrie.cpp"
- #include <stdio.h>
- using namespace std;
- int main()
- {
- geometrie identify_figure(2);
- geometrie cercle_a;
- geometrie triangle_a;
- geometrie rectangle_a;
- cercle_a.airecircle(10.0);
- triangle_a.airetriangle(5.0,4.0);
- rectangle_a.airerectangle(10,6);
- geometrie cercle_p;
- geometrie triangle_p;
- geometrie rectangle_p;
- cercle_p.perimetrecircle(10.0);
- triangle_p.perimetretriangle(5,10,4);
- rectangle_p.perimetrerectangle(10,6);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement