/**
 * This function calculates the total bill for a veterinarian based on the amount of items sold for different pets.
 *
 * @param amount The current bill amount.
 * @param itemsSold A list containing the number of items sold for different pets.
 * @return The total bill amount after calculating the multiplication assignment operator.
 */
fun calculateTotalBill(amount: Double, itemsSold: List<Int>): Double {

    var totalBill = amount

    for (item in itemsSold) {
        totalBill *= item // Use the multiplication assignment operator to update the total bill amount
    }

    return totalBill
}
/**
 * This function calculates the total bill for a veterinarian based on the amount of items sold for different pets.
 *
 * @param amount The current bill amount.
 * @param itemsSold A list containing the number of items sold for different pets.
 * @return The total bill amount after calculating the multiplication assignment operator.
 */
fun calculateTotalBill(amount: Double, itemsSold: List<Int>): Double {
/**
 * This function calculates the total bill for a veterinarian based on the amount of items sold for different pets.
 *
 * @param amount The current bill amount.
 * @param itemsSold A list containing the number of items sold for different pets.
 * @return The total bill amount after calculating the multiplication assignment operator.
 */
fun calculateTotalBill(amount: Double, itemsSold: List<Int>): Double {

    var totalBill = amount

    for (item in itemsSold) {
        totalBill *= item // Use the multiplication assignment operator to update the total bill amount
    }

    return totalBill
}