/**
 * This function calculates the total bill for a lawyer's services based on the items, quantities, and prices.
 *
 * @param items a list of the items or services provided by the lawyer
 * @param quantities the corresponding quantities of each item
 * @param prices the corresponding prices of each item
 * @return the total bill calculated by multiplying the quantities with their corresponding prices and summing them
 */
fun calculateBill(items: List<String>, quantities: List<Int>, prices: List<Float>): Float {

    var totalBill = 0f
    // Calculate the total bill by looping over each item, multiplying its quantity with its price, and summing them all
    for (i in items.indices) {
        totalBill += quantities[i] * prices[i]
    }
    return totalBill
}
/**
 * This function calculates the total bill for a lawyer's services based on the items, quantities, and prices.
 *
 * @param items a list of the items or services provided by the lawyer
 * @param quantities the corresponding quantities of each item
 * @param prices the corresponding prices of each item
 * @return the total bill calculated by multiplying the quantities with their corresponding prices and summing them
 */
fun calculateBill(items: List<String>, quantities: List<Int>, prices: List<Float>): Float {
/**
 * This function calculates the total bill for a lawyer's services based on the items, quantities, and prices.
 *
 * @param items a list of the items or services provided by the lawyer
 * @param quantities the corresponding quantities of each item
 * @param prices the corresponding prices of each item
 * @return the total bill calculated by multiplying the quantities with their corresponding prices and summing them
 */
fun calculateBill(items: List<String>, quantities: List<Int>, prices: List<Float>): Float {

    var totalBill = 0f
    // Calculate the total bill by looping over each item, multiplying its quantity with its price, and summing them all
    for (i in items.indices) {
        totalBill += quantities[i] * prices[i]
    }
    return totalBill
}