4 #define M_PI 3.14159265358979323846
6 /* Move the shape to a new location */
7 void Shape::move(double dx, double dy) {
12 int Shape::nshapes = 0;
14 double Circle::area(void) {
15 return M_PI*radius*radius;
18 double Circle::perimeter(void) {
22 double Square::area(void) {
26 double Square::perimeter(void) {