11 lines
169 B
C
11 lines
169 B
C
float circumf(float diameter)
|
|
{
|
|
const float pi = 3.14159265;
|
|
return (pi * diameter);
|
|
}
|
|
|
|
float area(float length, float height)
|
|
{
|
|
return (length * height);
|
|
}
|