/**
 * The function takes three arguments:
 * - profit: the profit made by the company
 * - expenses: the total expenses incurred by the company
 * - taxRate: the tax rate applied to the profit
 *
 * It calculates the revenue of the company after deducting tax from the profit.
 *
 * The revenue is calculated using the following formula:
 * revenue = (profit - expenses) * (1 - taxRate/100)
 *
 * Return the revenue of the company.
 */
fun calculateRevenue(profit: Double, expenses: Double, taxRate: Double): Double {

    val revenue = (profit - expenses) * (1 - taxRate / 100)
    return revenue
}
/**
 * The function takes three arguments:
 * - profit: the profit made by the company
 * - expenses: the total expenses incurred by the company
 * - taxRate: the tax rate applied to the profit
 *
 * It calculates the revenue of the company after deducting tax from the profit.
 *
 * The revenue is calculated using the following formula:
 * revenue = (profit - expenses) * (1 - taxRate/100)
 *
 * Return the revenue of the company.
 */
fun calculateRevenue(profit: Double, expenses: Double, taxRate: Double): Double {
/**
 * The function takes three arguments:
 * - profit: the profit made by the company
 * - expenses: the total expenses incurred by the company
 * - taxRate: the tax rate applied to the profit
 *
 * It calculates the revenue of the company after deducting tax from the profit.
 *
 * The revenue is calculated using the following formula:
 * revenue = (profit - expenses) * (1 - taxRate/100)
 *
 * Return the revenue of the company.
 */
fun calculateRevenue(profit: Double, expenses: Double, taxRate: Double): Double {

    val revenue = (profit - expenses) * (1 - taxRate / 100)
    return revenue
}