/**
 * This function calculates the total sales for a fashion designer based on the number of units sold and the price per unit.
 *
 * @param unitsSold a list of integers representing the number of units sold for each product
 * @param pricePerUnit a list of floats representing the price per unit for each product
 * @return totalSales a float representing the total sales
 */
fun calculateTotalSales(unitsSold: List<Int>, pricePerUnit: List<Float>): Float {

    var totalSales = 0.0f

    for (i in unitsSold.indices) {
        val productSales = unitsSold[i] * pricePerUnit[i]
        totalSales += productSales
    }

    return totalSales
}
/**
 * This function calculates the total sales for a fashion designer based on the number of units sold and the price per unit.
 *
 * @param unitsSold a list of integers representing the number of units sold for each product
 * @param pricePerUnit a list of floats representing the price per unit for each product
 * @return totalSales a float representing the total sales
 */
fun calculateTotalSales(unitsSold: List<Int>, pricePerUnit: List<Float>): Float {
/**
 * This function calculates the total sales for a fashion designer based on the number of units sold and the price per unit.
 *
 * @param unitsSold a list of integers representing the number of units sold for each product
 * @param pricePerUnit a list of floats representing the price per unit for each product
 * @return totalSales a float representing the total sales
 */
fun calculateTotalSales(unitsSold: List<Int>, pricePerUnit: List<Float>): Float {

    var totalSales = 0.0f

    for (i in unitsSold.indices) {
        val productSales = unitsSold[i] * pricePerUnit[i]
        totalSales += productSales
    }

    return totalSales
}