/**
 * Given the total number of visitors and the total number of sales, this function calculates and returns the conversion rate as a percentage.
 */
fun calculateConversionRate(totalVisitors: Int, totalSales: Int): Double {

    val conversionRate = (totalSales.toDouble() / totalVisitors.toDouble()) * 100
    return conversionRate
}
/**
 * Given the total number of visitors and the total number of sales, this function calculates and returns the conversion rate as a percentage.
 */
fun calculateConversionRate(totalVisitors: Int, totalSales: Int): Double {
/**
 * Given the total number of visitors and the total number of sales, this function calculates and returns the conversion rate as a percentage.
 */
fun calculateConversionRate(totalVisitors: Int, totalSales: Int): Double {

    val conversionRate = (totalSales.toDouble() / totalVisitors.toDouble()) * 100
    return conversionRate
}