/**
 * A farmer wants to calculate their profit from selling their harvest.
 * The farmer has the weight of the harvest in kilograms and the price per kilogram.
 *
 * Write a function that takes the harvest weight and price per kilogram as arguments and calculates the profit.
 *
 * The profit is calculated by multiplying the harvest weight with the price per kilogram.
 *
 * @param harvestWeight The weight of the harvest in kilograms.
 * @param pricePerKg The price per kilogram.
 * @return The profit from selling the harvest.
 *
 * Example:
 * calculateProfit(100.0, 2.5) => 250.0
 */
fun calculateProfit(harvestWeight: Double, pricePerKg: Double): Double {

    // Calculate the profit by multiplying the harvest weight with the price per kilogram
    val profit = harvestWeight * pricePerKg

    return profit
}
/**
 * A farmer wants to calculate their profit from selling their harvest.
 * The farmer has the weight of the harvest in kilograms and the price per kilogram.
 *
 * Write a function that takes the harvest weight and price per kilogram as arguments and calculates the profit.
 *
 * The profit is calculated by multiplying the harvest weight with the price per kilogram.
 *
 * @param harvestWeight The weight of the harvest in kilograms.
 * @param pricePerKg The price per kilogram.
 * @return The profit from selling the harvest.
 *
 * Example:
 * calculateProfit(100.0, 2.5) => 250.0
 */
fun calculateProfit(harvestWeight: Double, pricePerKg: Double): Double {
/**
 * A farmer wants to calculate their profit from selling their harvest.
 * The farmer has the weight of the harvest in kilograms and the price per kilogram.
 *
 * Write a function that takes the harvest weight and price per kilogram as arguments and calculates the profit.
 *
 * The profit is calculated by multiplying the harvest weight with the price per kilogram.
 *
 * @param harvestWeight The weight of the harvest in kilograms.
 * @param pricePerKg The price per kilogram.
 * @return The profit from selling the harvest.
 *
 * Example:
 * calculateProfit(100.0, 2.5) => 250.0
 */
fun calculateProfit(harvestWeight: Double, pricePerKg: Double): Double {

    // Calculate the profit by multiplying the harvest weight with the price per kilogram
    val profit = harvestWeight * pricePerKg

    return profit
}