/**
 * Calculate the total tax payment for an accountant based on the income list and tax rate list.
 *
 * @param incomeList List of Float: A list containing the accountant's annual income for each year.
 * @param taxRateList List of Float: A list containing the tax rate for each year.
 * @return Float: The total tax payment made by the accountant.
 */
fun calculatePerYear(incomeList: List<Float>, taxRateList: List<Float>): Float {

    var totalTaxPayment = 0.0f

    for (i in incomeList.indices) {
        totalTaxPayment += incomeList[i] * taxRateList[i]
    }

    return totalTaxPayment
}
/**
 * Calculate the total tax payment for an accountant based on the income list and tax rate list.
 *
 * @param incomeList List of Float: A list containing the accountant's annual income for each year.
 * @param taxRateList List of Float: A list containing the tax rate for each year.
 * @return Float: The total tax payment made by the accountant.
 */
fun calculatePerYear(incomeList: List<Float>, taxRateList: List<Float>): Float {
/**
 * Calculate the total tax payment for an accountant based on the income list and tax rate list.
 *
 * @param incomeList List of Float: A list containing the accountant's annual income for each year.
 * @param taxRateList List of Float: A list containing the tax rate for each year.
 * @return Float: The total tax payment made by the accountant.
 */
fun calculatePerYear(incomeList: List<Float>, taxRateList: List<Float>): Float {

    var totalTaxPayment = 0.0f

    for (i in incomeList.indices) {
        totalTaxPayment += incomeList[i] * taxRateList[i]
    }

    return totalTaxPayment
}