Initial commit
This commit is contained in:
10
kapitel15/jbmath/jbmath.c
Normal file
10
kapitel15/jbmath/jbmath.c
Normal file
@@ -0,0 +1,10 @@
|
||||
float circumf(float diameter)
|
||||
{
|
||||
const float pi = 3.14159265;
|
||||
return (pi * diameter);
|
||||
}
|
||||
|
||||
float area(float length, float height)
|
||||
{
|
||||
return (length * height);
|
||||
}
|
||||
Reference in New Issue
Block a user