@ -97,3 +97,8 @@ float minimum(float x, float y) {
return fmin(x, y);
}
// Function to calculate the average of two numbers
float average(float x, float y) {
return (x + y) / 2;