/**
 * The function takes a list of revenue values as input and returns a tuple containing
 * the maximum, minimum, and average revenue values.
 *
 * @return a tuple of (maxRevenue, minRevenue, avgRevenue)
 */
fun getRevenueTuple(revenues: List<Double>): Triple<Double, Double, Double> {

    val maxRevenue = revenues.maxOrNull() ?: 0.0
    val minRevenue = revenues.minOrNull() ?: 0.0
    val avgRevenue = revenues.average()

    return Triple(maxRevenue, minRevenue, avgRevenue)
}

// Calculate the revenue for a company with a
/**
 * The function takes a list of revenue values as input and returns a tuple containing
 * the maximum, minimum, and average revenue values.
 *
 * @return a tuple of (maxRevenue, minRevenue, avgRevenue)
 */
fun getRevenueTuple(revenues: List<Double>): Triple<Double, Double, Double> {
/**
 * The function takes a list of revenue values as input and returns a tuple containing
 * the maximum, minimum, and average revenue values.
 *
 * @return a tuple of (maxRevenue, minRevenue, avgRevenue)
 */
fun getRevenueTuple(revenues: List<Double>): Triple<Double, Double, Double> {

    val maxRevenue = revenues.maxOrNull() ?: 0.0
    val minRevenue = revenues.minOrNull() ?: 0.0
    val avgRevenue = revenues.average()

    return Triple(maxRevenue, minRevenue, avgRevenue)
}

// Calculate the revenue for a company with a