/**
 * This function calculates the gross income of a photographer by subtracting the expenses from the income.
 *
 * @param income The total income earned by the photographer in a month.
 * @param expenses The total expenses incurred by the photographer in a month.
 * @return The calculated gross income.
 */
fun calculateGrossIncome(income: Int, expenses: Int): Int? {

    val grossIncome = income - expenses
    
    return if (grossIncome > 0) {
        grossIncome
    } else {
        null
    }
}
/**
 * This function calculates the gross income of a photographer by subtracting the expenses from the income.
 *
 * @param income The total income earned by the photographer in a month.
 * @param expenses The total expenses incurred by the photographer in a month.
 * @return The calculated gross income.
 */
fun calculateGrossIncome(income: Int, expenses: Int): Int? {
/**
 * This function calculates the gross income of a photographer by subtracting the expenses from the income.
 *
 * @param income The total income earned by the photographer in a month.
 * @param expenses The total expenses incurred by the photographer in a month.
 * @return The calculated gross income.
 */
fun calculateGrossIncome(income: Int, expenses: Int): Int? {

    val grossIncome = income - expenses
    
    return if (grossIncome > 0) {
        grossIncome
    } else {
        null
    }
}