/**
 * This function calculates the number of calories burned during a workout session.
 *
 * @param workoutIntensity A string representing the intensity of the workout session.
 * @param duration An integer representing the duration of the workout session in minutes.
 * @return An integer representing the total number of calories burned during the workout session.
 *
 * Workout Intensity:
 * - Low: 4 calories per minute
 * - Medium: 8 calories per minute
 * - High: 12 calories per minute
 */
fun calculateCaloriesBurned(workoutIntensity: String, duration: Int): Int {

    val caloriesBurnedPerMinute = when (workoutIntensity) {
        "Low" -> 4
        "Medium" -> 8
        "High" -> 12
        else -> 0
    }

    val totalCaloriesBurned = caloriesBurnedPerMinute * duration

    return totalCaloriesBurned
}
/**
 * This function calculates the number of calories burned during a workout session.
 *
 * @param workoutIntensity A string representing the intensity of the workout session.
 * @param duration An integer representing the duration of the workout session in minutes.
 * @return An integer representing the total number of calories burned during the workout session.
 *
 * Workout Intensity:
 * - Low: 4 calories per minute
 * - Medium: 8 calories per minute
 * - High: 12 calories per minute
 */
fun calculateCaloriesBurned(workoutIntensity: String, duration: Int): Int {
/**
 * This function calculates the number of calories burned during a workout session.
 *
 * @param workoutIntensity A string representing the intensity of the workout session.
 * @param duration An integer representing the duration of the workout session in minutes.
 * @return An integer representing the total number of calories burned during the workout session.
 *
 * Workout Intensity:
 * - Low: 4 calories per minute
 * - Medium: 8 calories per minute
 * - High: 12 calories per minute
 */
fun calculateCaloriesBurned(workoutIntensity: String, duration: Int): Int {

    val caloriesBurnedPerMinute = when (workoutIntensity) {
        "Low" -> 4
        "Medium" -> 8
        "High" -> 12
        else -> 0
    }

    val totalCaloriesBurned = caloriesBurnedPerMinute * duration

    return totalCaloriesBurned
}