/**
 * Calculate the total income from selling eggs, milk, and cheese.
 *
 * @param eggsSold The number of eggs sold.
 * @param milkSold The number of liters of milk sold.
 * @param cheeseSold The number of kilograms of cheese sold.
 * @return The total income from selling eggs, milk, and cheese.
 */
fun calculateIncome(eggsSold: Int, milkSold: Int, cheeseSold: Int): Float {

    val eggPrice = 0.5f  // Price per egg in dollars
    val milkPrice = 2.0f  // Price per liter of milk in dollars
    val cheesePrice = 5.0f  // Price per kilogram of cheese in dollars

    val eggIncome = eggsSold * eggPrice
    val milkIncome = milkSold * milkPrice
    val cheeseIncome = cheeseSold * cheesePrice

    val totalIncome = eggIncome + milkIncome + cheeseIncome
    return totalIncome
}
/**
 * Calculate the total income from selling eggs, milk, and cheese.
 *
 * @param eggsSold The number of eggs sold.
 * @param milkSold The number of liters of milk sold.
 * @param cheeseSold The number of kilograms of cheese sold.
 * @return The total income from selling eggs, milk, and cheese.
 */
fun calculateIncome(eggsSold: Int, milkSold: Int, cheeseSold: Int): Float {
/**
 * Calculate the total income from selling eggs, milk, and cheese.
 *
 * @param eggsSold The number of eggs sold.
 * @param milkSold The number of liters of milk sold.
 * @param cheeseSold The number of kilograms of cheese sold.
 * @return The total income from selling eggs, milk, and cheese.
 */
fun calculateIncome(eggsSold: Int, milkSold: Int, cheeseSold: Int): Float {

    val eggPrice = 0.5f  // Price per egg in dollars
    val milkPrice = 2.0f  // Price per liter of milk in dollars
    val cheesePrice = 5.0f  // Price per kilogram of cheese in dollars

    val eggIncome = eggsSold * eggPrice
    val milkIncome = milkSold * milkPrice
    val cheeseIncome = cheeseSold * cheesePrice

    val totalIncome = eggIncome + milkIncome + cheeseIncome
    return totalIncome
}