/**
 * Given the profit and the total sales, calculate the profit margin.
 */
fun calculateProfitMargin(profit: Float, totalSales: Float): Float {

    val profitMargin = (profit / totalSales) * 100
    return profitMargin
}
/**
 * Given the profit and the total sales, calculate the profit margin.
 */
fun calculateProfitMargin(profit: Float, totalSales: Float): Float {
/**
 * Given the profit and the total sales, calculate the profit margin.
 */
fun calculateProfitMargin(profit: Float, totalSales: Float): Float {

    val profitMargin = (profit / totalSales) * 100
    return profitMargin
}