/**
 * This function calculates the tax amount based on the income and tax rate.
 *
 * @param income The income amount.
 * @param taxRate The tax rate.
 * @return The tax amount.
 */
fun calculateTax(income: Double, taxRate: Double): Double {

    val taxAmount = income * taxRate
    return taxAmount
}
/**
 * This function calculates the tax amount based on the income and tax rate.
 *
 * @param income The income amount.
 * @param taxRate The tax rate.
 * @return The tax amount.
 */
fun calculateTax(income: Double, taxRate: Double): Double {
/**
 * This function calculates the tax amount based on the income and tax rate.
 *
 * @param income The income amount.
 * @param taxRate The tax rate.
 * @return The tax amount.
 */
fun calculateTax(income: Double, taxRate: Double): Double {

    val taxAmount = income * taxRate
    return taxAmount
}