/**
 * Calculates the tax amount based on the given income and tax rate.
 */
fun calculateTax(income: Float, taxRate: Float): Float {

    val taxAmount = income * taxRate
    return taxAmount
}
/**
 * Calculates the tax amount based on the given income and tax rate.
 */
fun calculateTax(income: Float, taxRate: Float): Float {
/**
 * Calculates the tax amount based on the given income and tax rate.
 */
fun calculateTax(income: Float, taxRate: Float): Float {

    val taxAmount = income * taxRate
    return taxAmount
}