SHARE
TWEET

Untitled

a guest Jun 19th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Rect {
  2. double a,b;
  3. public:
  4. Rect(double a, double b) : a(a), b(b) {}
  5. friend double area (double a, double b);};
  6.  
  7. double area (double a, double b) { return a*b; };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top