daily pastebin goal
74%
SHARE
TWEET

Circle class

Archon Dec 22nd, 2010 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Top