/**
 * Calculates the taxable income for a person by subtracting the total deductions
 * from their total income.
 *
 * @param income the total income of a person
 * @param deductions total deductions for the person
 * @return the taxable income after deductions are subtracted
 */
fun calculateTaxableIncome(income: Double, deductions: Double): Double {

    val taxableIncome = income - deductions
    return taxableIncome
}
/**
 * Calculates the taxable income for a person by subtracting the total deductions
 * from their total income.
 *
 * @param income the total income of a person
 * @param deductions total deductions for the person
 * @return the taxable income after deductions are subtracted
 */
fun calculateTaxableIncome(income: Double, deductions: Double): Double {
/**
 * Calculates the taxable income for a person by subtracting the total deductions
 * from their total income.
 *
 * @param income the total income of a person
 * @param deductions total deductions for the person
 * @return the taxable income after deductions are subtracted
 */
fun calculateTaxableIncome(income: Double, deductions: Double): Double {

    val taxableIncome = income - deductions
    return taxableIncome
}