/**
 * Given the income and deductions of an accountant, calculate the tax payable.
 * Tax is calculated as 20% of the taxable income after deducting the deductions.
 * If the tax payable is less than or equal to 5000, return "No tax payable".
 * Otherwise, return "Tax payable: <amount>".
 */
fun calculateTax(income: Double, deductions: Double): String {

    val taxableIncome = income - deductions
    val taxPayable = taxableIncome * 0.20

    return if (taxPayable <= 5000) {
        "No tax payable"
    } else {
        "Tax payable: $taxPayable"
    }
}
/**
 * Given the income and deductions of an accountant, calculate the tax payable.
 * Tax is calculated as 20% of the taxable income after deducting the deductions.
 * If the tax payable is less than or equal to 5000, return "No tax payable".
 * Otherwise, return "Tax payable: <amount>".
 */
fun calculateTax(income: Double, deductions: Double): String {
/**
 * Given the income and deductions of an accountant, calculate the tax payable.
 * Tax is calculated as 20% of the taxable income after deducting the deductions.
 * If the tax payable is less than or equal to 5000, return "No tax payable".
 * Otherwise, return "Tax payable: <amount>".
 */
fun calculateTax(income: Double, deductions: Double): String {

    val taxableIncome = income - deductions
    val taxPayable = taxableIncome * 0.20

    return if (taxPayable <= 5000) {
        "No tax payable"
    } else {
        "Tax payable: $taxPayable"
    }
}