9 lines
196 B
C
9 lines
196 B
C
#include "foo.h"
|
|
|
|
double rectangle_perimeter(double width, double height) {
|
|
return 2.0 * (width + height);
|
|
}
|
|
|
|
double rectangle_area(double width, double height) {
|
|
return width * height;
|
|
}
|