/**
 * A fashion designer is creating a skirt for a specific body type. The designer needs to determine the appropriate length of the skirt based on the waist size and hip size of the person.
 *
 * Complete the code by using the built-in Kotlin function 'coerceAtLeast' and the greater than operator '>' to calculate the correct skirt length.
 *
 * @param length a float indicating the desired skirt length
 * @param waistSize a float indicating the waist size of the person
 * @param hipSize a float indicating the hip size of the person
 * @return A float indicating the final length of the skirt, considering both waist and hip sizes.
 */
fun drawSkirt(length: Float, waistSize: Float, hipSize: Float): Float {

    // Calculate the difference between the waist size and hip size
    val diff = Math.abs(waistSize - hipSize)

    // Calculate the maximum value between the difference and the desired length
    val skirtLength = diff.coerceAtLeast(length)

    // Return the final skirt length
    return skirtLength
}
/**
 * A fashion designer is creating a skirt for a specific body type. The designer needs to determine the appropriate length of the skirt based on the waist size and hip size of the person.
 *
 * Complete the code by using the built-in Kotlin function 'coerceAtLeast' and the greater than operator '>' to calculate the correct skirt length.
 *
 * @param length a float indicating the desired skirt length
 * @param waistSize a float indicating the waist size of the person
 * @param hipSize a float indicating the hip size of the person
 * @return A float indicating the final length of the skirt, considering both waist and hip sizes.
 */
fun drawSkirt(length: Float, waistSize: Float, hipSize: Float): Float {
/**
 * A fashion designer is creating a skirt for a specific body type. The designer needs to determine the appropriate length of the skirt based on the waist size and hip size of the person.
 *
 * Complete the code by using the built-in Kotlin function 'coerceAtLeast' and the greater than operator '>' to calculate the correct skirt length.
 *
 * @param length a float indicating the desired skirt length
 * @param waistSize a float indicating the waist size of the person
 * @param hipSize a float indicating the hip size of the person
 * @return A float indicating the final length of the skirt, considering both waist and hip sizes.
 */
fun drawSkirt(length: Float, waistSize: Float, hipSize: Float): Float {

    // Calculate the difference between the waist size and hip size
    val diff = Math.abs(waistSize - hipSize)

    // Calculate the maximum value between the difference and the desired length
    val skirtLength = diff.coerceAtLeast(length)

    // Return the final skirt length
    return skirtLength
}