/**
 * A function to calculate the payable tax amount for an accountant.
 *
 * @param netIncome The net income of the individual
 * @param taxRate The tax rate to be applied
 * @return The calculated tax amount
 */
fun calculateTax(netIncome: Float, taxRate: Float): Float {

    // Calculating actual tax amount by multiplying net income with tax rate
    val taxAmount = netIncome * taxRate
    return taxAmount
}
/**
 * A function to calculate the payable tax amount for an accountant.
 *
 * @param netIncome The net income of the individual
 * @param taxRate The tax rate to be applied
 * @return The calculated tax amount
 */
fun calculateTax(netIncome: Float, taxRate: Float): Float {
/**
 * A function to calculate the payable tax amount for an accountant.
 *
 * @param netIncome The net income of the individual
 * @param taxRate The tax rate to be applied
 * @return The calculated tax amount
 */
fun calculateTax(netIncome: Float, taxRate: Float): Float {

    // Calculating actual tax amount by multiplying net income with tax rate
    val taxAmount = netIncome * taxRate
    return taxAmount
}