daily pastebin goal
13%
SHARE
TWEET

Circle class

Archon Dec 22nd, 2010 93 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. class Circle{
  2.    float area;
  3.    int radius;
  4.  
  5. public:
  6.    Circle(int r):
  7.    radius(r),
  8.    area(3.14 * r * r)
  9.    {}
  10. };
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