/**
 * A function that calculates the difference between profit goals and current profits of an accountant.
 *
 * @param profitGoals A dictionary containing profit goals for different aspects of accounting.
 * @param currentProfits A dictionary containing current profits for different aspects of accounting.
 * @return A dictionary containing the differences between profit goals and current profits.
 */
fun calculateProfits(profitGoals: Map<String, Int>, currentProfits: Map<String, Int>): Map<String, Int> {

    val results = mutableMapOf<String, Int>()  // Creating an empty dictionary to store the results

    for ((key, value) in profitGoals) {
        results[key] = value - (currentProfits[key] ?: 0)  // Calculate the difference
    }

    return results
}
/**
 * A function that calculates the difference between profit goals and current profits of an accountant.
 *
 * @param profitGoals A dictionary containing profit goals for different aspects of accounting.
 * @param currentProfits A dictionary containing current profits for different aspects of accounting.
 * @return A dictionary containing the differences between profit goals and current profits.
 */
fun calculateProfits(profitGoals: Map<String, Int>, currentProfits: Map<String, Int>): Map<String, Int> {
/**
 * A function that calculates the difference between profit goals and current profits of an accountant.
 *
 * @param profitGoals A dictionary containing profit goals for different aspects of accounting.
 * @param currentProfits A dictionary containing current profits for different aspects of accounting.
 * @return A dictionary containing the differences between profit goals and current profits.
 */
fun calculateProfits(profitGoals: Map<String, Int>, currentProfits: Map<String, Int>): Map<String, Int> {

    val results = mutableMapOf<String, Int>()  // Creating an empty dictionary to store the results

    for ((key, value) in profitGoals) {
        results[key] = value - (currentProfits[key] ?: 0)  // Calculate the difference
    }

    return results
}