/**
 * As a fashion designer, you need to calculate the total number of hours worked including overtime.
 * For each working day, the regular working hours are 8 hours and any hours exceeding that are considered as overtime.
 */
fun calculateTotalHours(workHours: Int, overtimeHours: Int): Int {

    val totalHours = if (workHours > 8) {
        workHours + overtimeHours
    } else {
        workHours
    }
    return totalHours
}
/**
 * As a fashion designer, you need to calculate the total number of hours worked including overtime.
 * For each working day, the regular working hours are 8 hours and any hours exceeding that are considered as overtime.
 */
fun calculateTotalHours(workHours: Int, overtimeHours: Int): Int {
/**
 * As a fashion designer, you need to calculate the total number of hours worked including overtime.
 * For each working day, the regular working hours are 8 hours and any hours exceeding that are considered as overtime.
 */
fun calculateTotalHours(workHours: Int, overtimeHours: Int): Int {

    val totalHours = if (workHours > 8) {
        workHours + overtimeHours
    } else {
        workHours
    }
    return totalHours
}