/**
 * Calculate the total billable amount for a lawyer based on the duration of each task and their hourly rate.
 *
 * @param durationList a list containing the duration of each task in minutes
 * @param hourlyRate the lawyer's hourly rate
 * @return the total billable amount as a float value
 */
fun calculateBillableHours(durationList: List<Int>, hourlyRate: Float): Float {

    var totalHours = 0f
    for (duration in durationList) {
        totalHours += duration / 60f
    }
    
    val billableAmount = totalHours * hourlyRate
    
    return billableAmount
}
/**
 * Calculate the total billable amount for a lawyer based on the duration of each task and their hourly rate.
 *
 * @param durationList a list containing the duration of each task in minutes
 * @param hourlyRate the lawyer's hourly rate
 * @return the total billable amount as a float value
 */
fun calculateBillableHours(durationList: List<Int>, hourlyRate: Float): Float {
/**
 * Calculate the total billable amount for a lawyer based on the duration of each task and their hourly rate.
 *
 * @param durationList a list containing the duration of each task in minutes
 * @param hourlyRate the lawyer's hourly rate
 * @return the total billable amount as a float value
 */
fun calculateBillableHours(durationList: List<Int>, hourlyRate: Float): Float {

    var totalHours = 0f
    for (duration in durationList) {
        totalHours += duration / 60f
    }
    
    val billableAmount = totalHours * hourlyRate
    
    return billableAmount
}