6 # define M_PI 3.14159265358979323846
9 /* Move the shape to a new location */
10 void Shape::move(double dx, double dy) {
15 int Shape::nshapes = 0;
17 double Circle::area() {
18 return M_PI*radius*radius;
21 double Circle::perimeter() {
25 double Square::area() {
29 double Square::perimeter() {