/**
 * This exercise helps a physical therapist check if the patient's temperature and heart rate are within a normal range.
 * If both conditions are met, the patient is considered healthy.
 */
fun getExercise(patientName: String, temperature: Double, heartRate: Int): String {

    // Check the patient's temperature
    if (temperature >= 97.5 && temperature <= 99.5) {
        // Check the patient's heart rate
        if (heartRate >= 60 && heartRate <= 100) {
            return "$patientName is healthy."
        } else {
            return "$patientName has an abnormal heart rate. Please consult a physician."
        }
    } else {
        return "$patientName has an abnormal temperature. Please consult a physician."
    }
}
/**
 * This exercise helps a physical therapist check if the patient's temperature and heart rate are within a normal range.
 * If both conditions are met, the patient is considered healthy.
 */
fun getExercise(patientName: String, temperature: Double, heartRate: Int): String {
/**
 * This exercise helps a physical therapist check if the patient's temperature and heart rate are within a normal range.
 * If both conditions are met, the patient is considered healthy.
 */
fun getExercise(patientName: String, temperature: Double, heartRate: Int): String {

    // Check the patient's temperature
    if (temperature >= 97.5 && temperature <= 99.5) {
        // Check the patient's heart rate
        if (heartRate >= 60 && heartRate <= 100) {
            return "$patientName is healthy."
        } else {
            return "$patientName has an abnormal heart rate. Please consult a physician."
        }
    } else {
        return "$patientName has an abnormal temperature. Please consult a physician."
    }
}