/**
 * Calculate the total bill amount for a given number of units and rate per unit.
 */
fun calculateTotalBill(units: Int, rate: Int): Int {

    // Initialize the total bill amount to 0
    var totalBill = 0

    // Calculate the total bill using the AND Operator and Multiplication Assignment Operator
    if (units > 0 && rate > 0) {
        // Increment the total bill by the product of units and rate
        totalBill += units * rate
    }

    return totalBill
}
/**
 * Calculate the total bill amount for a given number of units and rate per unit.
 */
fun calculateTotalBill(units: Int, rate: Int): Int {
/**
 * Calculate the total bill amount for a given number of units and rate per unit.
 */
fun calculateTotalBill(units: Int, rate: Int): Int {

    // Initialize the total bill amount to 0
    var totalBill = 0

    // Calculate the total bill using the AND Operator and Multiplication Assignment Operator
    if (units > 0 && rate > 0) {
        // Increment the total bill by the product of units and rate
        totalBill += units * rate
    }

    return totalBill
}