calculateBodyMassIndex function

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

Implementation

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