/**
 * This function calculates the total bill for a graphic designer based on their hourly rate, hours worked, and any additional charges.
 *
 * @param hourlyRate The hourly rate of the graphic designer.
 * @param hoursWorked The number of hours worked by the graphic designer.
 * @param additionalCharges Any additional charges applied to the bill.
 * @return The total bill for the graphic designer.
 */
fun calculateClientBill(hourlyRate: Float, hoursWorked: Float, additionalCharges: Float): Float {

    var totalBill = 0.0f

    if (hourlyRate > 0 && hoursWorked > 0) {
        totalBill = hourlyRate * hoursWorked

        if (additionalCharges > 0) {
            totalBill += additionalCharges
        }
    }

    return totalBill
}
/**
 * This function calculates the total bill for a graphic designer based on their hourly rate, hours worked, and any additional charges.
 *
 * @param hourlyRate The hourly rate of the graphic designer.
 * @param hoursWorked The number of hours worked by the graphic designer.
 * @param additionalCharges Any additional charges applied to the bill.
 * @return The total bill for the graphic designer.
 */
fun calculateClientBill(hourlyRate: Float, hoursWorked: Float, additionalCharges: Float): Float {
/**
 * This function calculates the total bill for a graphic designer based on their hourly rate, hours worked, and any additional charges.
 *
 * @param hourlyRate The hourly rate of the graphic designer.
 * @param hoursWorked The number of hours worked by the graphic designer.
 * @param additionalCharges Any additional charges applied to the bill.
 * @return The total bill for the graphic designer.
 */
fun calculateClientBill(hourlyRate: Float, hoursWorked: Float, additionalCharges: Float): Float {

    var totalBill = 0.0f

    if (hourlyRate > 0 && hoursWorked > 0) {
        totalBill = hourlyRate * hoursWorked

        if (additionalCharges > 0) {
            totalBill += additionalCharges
        }
    }

    return totalBill
}