/**
 * Calculate the cost per click (CPC) for a marketing campaign.
 *
 * @param campaignBudget The total budget allocated for the marketing campaign.
 * @param numClicks The number of clicks generated by the campaign.
 * @return The CPC value rounded to 2 decimal places.
 */
fun calculateCpc(campaignBudget: Double, numClicks: Int): Double {

    var remainingBudget = campaignBudget - numClicks
    val cpc = remainingBudget / numClicks
    return "%.2f".format(cpc).toDouble()
}
/**
 * Calculate the cost per click (CPC) for a marketing campaign.
 *
 * @param campaignBudget The total budget allocated for the marketing campaign.
 * @param numClicks The number of clicks generated by the campaign.
 * @return The CPC value rounded to 2 decimal places.
 */
fun calculateCpc(campaignBudget: Double, numClicks: Int): Double {
/**
 * Calculate the cost per click (CPC) for a marketing campaign.
 *
 * @param campaignBudget The total budget allocated for the marketing campaign.
 * @param numClicks The number of clicks generated by the campaign.
 * @return The CPC value rounded to 2 decimal places.
 */
fun calculateCpc(campaignBudget: Double, numClicks: Int): Double {

    var remainingBudget = campaignBudget - numClicks
    val cpc = remainingBudget / numClicks
    return "%.2f".format(cpc).toDouble()
}