/**
 * As a carpenter, you want to calculate your monthly salary based on the hours worked, hourly rate, and bonus percentage.
 *
 * You need to calculate your salary by using the given formula:
 *
 * total_salary = (hours_worked * hourly_rate) + (hours_worked * hourly_rate * bonus_percentage / 100)
 *
 * Calculate the total salary and return it as output.
 *
 * @param hoursWorked The number of hours worked in a month.
 * @param hourlyRate The hourly wage of the carpenter.
 * @param bonusPercentage The bonus percentage to be calculated based on the salary.
 * @return The total salary of the carpenter in a month.
 */
fun calculateCarpenterSalary(hoursWorked: Int, hourlyRate: Double, bonusPercentage: Double): Double {

    val totalSalary = (hoursWorked * hourlyRate) + (hoursWorked * hourlyRate * bonusPercentage / 100)
    return totalSalary
}
/**
 * As a carpenter, you want to calculate your monthly salary based on the hours worked, hourly rate, and bonus percentage.
 *
 * You need to calculate your salary by using the given formula:
 *
 * total_salary = (hours_worked * hourly_rate) + (hours_worked * hourly_rate * bonus_percentage / 100)
 *
 * Calculate the total salary and return it as output.
 *
 * @param hoursWorked The number of hours worked in a month.
 * @param hourlyRate The hourly wage of the carpenter.
 * @param bonusPercentage The bonus percentage to be calculated based on the salary.
 * @return The total salary of the carpenter in a month.
 */
fun calculateCarpenterSalary(hoursWorked: Int, hourlyRate: Double, bonusPercentage: Double): Double {
/**
 * As a carpenter, you want to calculate your monthly salary based on the hours worked, hourly rate, and bonus percentage.
 *
 * You need to calculate your salary by using the given formula:
 *
 * total_salary = (hours_worked * hourly_rate) + (hours_worked * hourly_rate * bonus_percentage / 100)
 *
 * Calculate the total salary and return it as output.
 *
 * @param hoursWorked The number of hours worked in a month.
 * @param hourlyRate The hourly wage of the carpenter.
 * @param bonusPercentage The bonus percentage to be calculated based on the salary.
 * @return The total salary of the carpenter in a month.
 */
fun calculateCarpenterSalary(hoursWorked: Int, hourlyRate: Double, bonusPercentage: Double): Double {

    val totalSalary = (hoursWorked * hourlyRate) + (hoursWorked * hourlyRate * bonusPercentage / 100)
    return totalSalary
}