/**
 * Write a function that takes a list of income tuples as input and calculates the total income.
 *
 * Each income tuple consists of two elements: the name of the client and the income earned in a year.
 * The function should return a float value representing the total income earned by all clients.
 */
fun calculateTotalIncome(incomeTuples: List<Pair<String, Float>>): Float {

    var totalIncome = 0.0f
    for ((_, income) in incomeTuples) {
        totalIncome += income
    }
    return totalIncome
}
/**
 * Write a function that takes a list of income tuples as input and calculates the total income.
 *
 * Each income tuple consists of two elements: the name of the client and the income earned in a year.
 * The function should return a float value representing the total income earned by all clients.
 */
fun calculateTotalIncome(incomeTuples: List<Pair<String, Float>>): Float {
/**
 * Write a function that takes a list of income tuples as input and calculates the total income.
 *
 * Each income tuple consists of two elements: the name of the client and the income earned in a year.
 * The function should return a float value representing the total income earned by all clients.
 */
fun calculateTotalIncome(incomeTuples: List<Pair<String, Float>>): Float {

    var totalIncome = 0.0f
    for ((_, income) in incomeTuples) {
        totalIncome += income
    }
    return totalIncome
}