/**
 * Given the expenses and revenue of a company for a certain period,
 * this function calculates the average profit per month.
 *
 * @param expenses the total expenses for the period
 * @param revenue the total revenue for the period
 * @return the average profit per month
 */
fun calculateAverageProfit(expenses: Double, revenue: Double): Double {

    val averageProfit = revenue - expenses / 12
    return averageProfit
}
/**
 * Given the expenses and revenue of a company for a certain period,
 * this function calculates the average profit per month.
 *
 * @param expenses the total expenses for the period
 * @param revenue the total revenue for the period
 * @return the average profit per month
 */
fun calculateAverageProfit(expenses: Double, revenue: Double): Double {
/**
 * Given the expenses and revenue of a company for a certain period,
 * this function calculates the average profit per month.
 *
 * @param expenses the total expenses for the period
 * @param revenue the total revenue for the period
 * @return the average profit per month
 */
fun calculateAverageProfit(expenses: Double, revenue: Double): Double {

    val averageProfit = revenue - expenses / 12
    return averageProfit
}