/**
 * Calculate the profit by subtracting expenses from revenue.
 *
 * @param expenses Total expenses incurred by the economist.
 * @param revenue Total revenue earned by the economist.
 * @return true if the profit is positive, false otherwise.
 */
fun calculateProfit(expenses: Double, revenue: Double): Boolean {

    val profit = revenue - expenses
    return profit > 0
}
/**
 * Calculate the profit by subtracting expenses from revenue.
 *
 * @param expenses Total expenses incurred by the economist.
 * @param revenue Total revenue earned by the economist.
 * @return true if the profit is positive, false otherwise.
 */
fun calculateProfit(expenses: Double, revenue: Double): Boolean {
/**
 * Calculate the profit by subtracting expenses from revenue.
 *
 * @param expenses Total expenses incurred by the economist.
 * @param revenue Total revenue earned by the economist.
 * @return true if the profit is positive, false otherwise.
 */
fun calculateProfit(expenses: Double, revenue: Double): Boolean {

    val profit = revenue - expenses
    return profit > 0
}