/**
 * Calculates the profits of a farmer based on the annual revenue and expenses.
 *
 * @param annualRevenue The total revenue earned by the farmer in a year.
 * @param expenses The total expenses incurred by the farmer in a year.
 * @return The profits obtained by the farmer.
 */
fun calculateProfits(annualRevenue: Double, expenses: Double): Double {

    return annualRevenue - expenses
}
/**
 * Calculates the profits of a farmer based on the annual revenue and expenses.
 *
 * @param annualRevenue The total revenue earned by the farmer in a year.
 * @param expenses The total expenses incurred by the farmer in a year.
 * @return The profits obtained by the farmer.
 */
fun calculateProfits(annualRevenue: Double, expenses: Double): Double {
/**
 * Calculates the profits of a farmer based on the annual revenue and expenses.
 *
 * @param annualRevenue The total revenue earned by the farmer in a year.
 * @param expenses The total expenses incurred by the farmer in a year.
 * @return The profits obtained by the farmer.
 */
fun calculateProfits(annualRevenue: Double, expenses: Double): Double {

    return annualRevenue - expenses
}