/**
 * This function calculates the taxable income by deducting the total deductions and expenses from the total income.
 *
 * @param income Total income of the accountant.
 * @param deductions Total deductions applicable for the accountant.
 * @param expenses Total expenses incurred by the accountant.
 * @return Taxable income of the accountant.
 */
fun calculateTax(income: Double, deductions: Double, expenses: Double): Double {

    // Calculate the taxable income by subtracting deductions and expenses from income
    val taxableIncome = income - deductions - expenses
    return taxableIncome
}
/**
 * This function calculates the taxable income by deducting the total deductions and expenses from the total income.
 *
 * @param income Total income of the accountant.
 * @param deductions Total deductions applicable for the accountant.
 * @param expenses Total expenses incurred by the accountant.
 * @return Taxable income of the accountant.
 */
fun calculateTax(income: Double, deductions: Double, expenses: Double): Double {
/**
 * This function calculates the taxable income by deducting the total deductions and expenses from the total income.
 *
 * @param income Total income of the accountant.
 * @param deductions Total deductions applicable for the accountant.
 * @param expenses Total expenses incurred by the accountant.
 * @return Taxable income of the accountant.
 */
fun calculateTax(income: Double, deductions: Double, expenses: Double): Double {

    // Calculate the taxable income by subtracting deductions and expenses from income
    val taxableIncome = income - deductions - expenses
    return taxableIncome
}