/**
 * Calculate the daily caloric needs of a patient based on their weight and activity level.
 *
 * @param weight the weight of the patient in kilograms
 * @param activityLevel the activity level of the patient ranging from 1.2 (sedentary) to 2.5 (very active)
 * @return The calculated daily caloric needs as a floating-point number.
 */
fun calculateDailyCaloricNeeds(weight: Float, activityLevel: Float): Float {

    val basalMetabolicRate = weight * 24
    return basalMetabolicRate * activityLevel
}
/**
 * Calculate the daily caloric needs of a patient based on their weight and activity level.
 *
 * @param weight the weight of the patient in kilograms
 * @param activityLevel the activity level of the patient ranging from 1.2 (sedentary) to 2.5 (very active)
 * @return The calculated daily caloric needs as a floating-point number.
 */
fun calculateDailyCaloricNeeds(weight: Float, activityLevel: Float): Float {
/**
 * Calculate the daily caloric needs of a patient based on their weight and activity level.
 *
 * @param weight the weight of the patient in kilograms
 * @param activityLevel the activity level of the patient ranging from 1.2 (sedentary) to 2.5 (very active)
 * @return The calculated daily caloric needs as a floating-point number.
 */
fun calculateDailyCaloricNeeds(weight: Float, activityLevel: Float): Float {

    val basalMetabolicRate = weight * 24
    return basalMetabolicRate * activityLevel
}