/**
 * A function that calculates the net income using the given revenue and expenses.
 * The function should deduct the expenses from the revenue to determine the net income.
 *
 * @param revenue The total revenue earned by the accountant.
 * @param expenses The total expenses incurred by the accountant.
 * @return The net income calculated as revenue minus expenses.
 */
fun calculateNetIncome(revenue: Double, expenses: Double): Double {

    val netIncome = revenue - expenses
    return netIncome
}
/**
 * A function that calculates the net income using the given revenue and expenses.
 * The function should deduct the expenses from the revenue to determine the net income.
 *
 * @param revenue The total revenue earned by the accountant.
 * @param expenses The total expenses incurred by the accountant.
 * @return The net income calculated as revenue minus expenses.
 */
fun calculateNetIncome(revenue: Double, expenses: Double): Double {
/**
 * A function that calculates the net income using the given revenue and expenses.
 * The function should deduct the expenses from the revenue to determine the net income.
 *
 * @param revenue The total revenue earned by the accountant.
 * @param expenses The total expenses incurred by the accountant.
 * @return The net income calculated as revenue minus expenses.
 */
fun calculateNetIncome(revenue: Double, expenses: Double): Double {

    val netIncome = revenue - expenses
    return netIncome
}