calculateBMI function

double calculateBMI(
  1. double weight,
  2. double height
)

Implementation

double calculateBMI(double weight, double height) {
  return weight / (height * height);
}