/**
 * Given a person's weight (in kilograms) and height (in meters), calculate their Body Mass Index (BMI).
 *
 * @param weight The person's weight in kilograms.
 * @param height The person's height in meters.
 * @return The person's BMI calculated as weight divided by the square of height.
 */
fun calculateBmi(weight: Double, height: Double): Double {

    val bmi = weight / (height * height)
    return bmi
}
/**
 * Given a person's weight (in kilograms) and height (in meters), calculate their Body Mass Index (BMI).
 *
 * @param weight The person's weight in kilograms.
 * @param height The person's height in meters.
 * @return The person's BMI calculated as weight divided by the square of height.
 */
fun calculateBmi(weight: Double, height: Double): Double {
/**
 * Given a person's weight (in kilograms) and height (in meters), calculate their Body Mass Index (BMI).
 *
 * @param weight The person's weight in kilograms.
 * @param height The person's height in meters.
 * @return The person's BMI calculated as weight divided by the square of height.
 */
fun calculateBmi(weight: Double, height: Double): Double {

    val bmi = weight / (height * height)
    return bmi
}