10 lines
137 B
C
10 lines
137 B
C
#ifndef shape_h
|
|
#define shape_h
|
|
|
|
typedef struct{
|
|
int numSides;
|
|
double perimeter;
|
|
double (*area) ();
|
|
} Shape;
|
|
|
|
#endif |