Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- class Rechteck
- {
- public :
- Rechteck( float xxol, float yyol, float xxor, foat yyul);
- void print_rechteck();
- float flaeche();
- float umfang();
- friend void punktlage( class Rechteck rr, class Punkt pp);
- private:
- float xol, yol, xor, yul;
- };
- class Punkt
- {
- public :
- void read_punkt();
- void print:punkt();
- friend void punktlage(Rechteck rr, Punkt pp);
- private:
- float x,y;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement