/**
 * This function calculates the tax amount based on salary and tax rate.
 */
fun calculateTax(salary: Float, taxRate: Float): Float {

    val taxAmount = salary * taxRate
    return taxAmount
}
/**
 * This function calculates the tax amount based on salary and tax rate.
 */
fun calculateTax(salary: Float, taxRate: Float): Float {
/**
 * This function calculates the tax amount based on salary and tax rate.
 */
fun calculateTax(salary: Float, taxRate: Float): Float {

    val taxAmount = salary * taxRate
    return taxAmount
}