/**
 * This function calculates the total income by adding the salary and bonus.
 *
 * @param salary The amount earned as salary.
 * @param bonus The additional earnings as bonus.
 * @return The total income.
 */
fun calculateTotalIncome(salary: Int, bonus: Int): Int {

    // Calculate the total income
    val totalIncome = salary + bonus
    
    // Return the total income
    return totalIncome
}
/**
 * This function calculates the total income by adding the salary and bonus.
 *
 * @param salary The amount earned as salary.
 * @param bonus The additional earnings as bonus.
 * @return The total income.
 */
fun calculateTotalIncome(salary: Int, bonus: Int): Int {
/**
 * This function calculates the total income by adding the salary and bonus.
 *
 * @param salary The amount earned as salary.
 * @param bonus The additional earnings as bonus.
 * @return The total income.
 */
fun calculateTotalIncome(salary: Int, bonus: Int): Int {

    // Calculate the total income
    val totalIncome = salary + bonus
    
    // Return the total income
    return totalIncome
}