/**
 * In the context of interior designing, this function calculates the total cost after applying discounts and taxes
 * to the given expenses incurred for a project.
 *
 * @param expenses The total expenses incurred for the project.
 * @param discountPercent The discount percentage to be applied to the expenses.
 * @param taxPercent The tax percentage to be applied to the expenses after applying the discount.
 * @return The total cost after applying the discount and tax.
 */
fun calculateTotalCost(expenses: Int, discountPercent: Float, taxPercent: Float): Float {

    // Calculate discounted cost
    val discountedCost = expenses - (expenses * discountPercent / 100)

    // Calculate tax amount
    val taxAmount = discountedCost * taxPercent / 100

    // Calculate total cost
    val totalCost = discountedCost + taxAmount

    return totalCost
}
/**
 * In the context of interior designing, this function calculates the total cost after applying discounts and taxes
 * to the given expenses incurred for a project.
 *
 * @param expenses The total expenses incurred for the project.
 * @param discountPercent The discount percentage to be applied to the expenses.
 * @param taxPercent The tax percentage to be applied to the expenses after applying the discount.
 * @return The total cost after applying the discount and tax.
 */
fun calculateTotalCost(expenses: Int, discountPercent: Float, taxPercent: Float): Float {
/**
 * In the context of interior designing, this function calculates the total cost after applying discounts and taxes
 * to the given expenses incurred for a project.
 *
 * @param expenses The total expenses incurred for the project.
 * @param discountPercent The discount percentage to be applied to the expenses.
 * @param taxPercent The tax percentage to be applied to the expenses after applying the discount.
 * @return The total cost after applying the discount and tax.
 */
fun calculateTotalCost(expenses: Int, discountPercent: Float, taxPercent: Float): Float {

    // Calculate discounted cost
    val discountedCost = expenses - (expenses * discountPercent / 100)

    // Calculate tax amount
    val taxAmount = discountedCost * taxPercent / 100

    // Calculate total cost
    val totalCost = discountedCost + taxAmount

    return totalCost
}