/**
 * You are a farmer trying to determine the time it will take to remove all the weeds from your field.
 * Given the number of weeds in your field and the weed coverage per hour, calculate the time it will take to remove all the weeds.
 */
fun calculateWeeds(numWeeds: Int, weedCoverage: Int): Double? {

    var timeTaken: Double? = null

    if (numWeeds > 0 && weedCoverage > 0) {
        timeTaken = numWeeds.toDouble() / weedCoverage
    } else if (numWeeds == 0) {
        timeTaken = 0.0
    }

    return timeTaken
}
/**
 * You are a farmer trying to determine the time it will take to remove all the weeds from your field.
 * Given the number of weeds in your field and the weed coverage per hour, calculate the time it will take to remove all the weeds.
 */
fun calculateWeeds(numWeeds: Int, weedCoverage: Int): Double? {
/**
 * You are a farmer trying to determine the time it will take to remove all the weeds from your field.
 * Given the number of weeds in your field and the weed coverage per hour, calculate the time it will take to remove all the weeds.
 */
fun calculateWeeds(numWeeds: Int, weedCoverage: Int): Double? {

    var timeTaken: Double? = null

    if (numWeeds > 0 && weedCoverage > 0) {
        timeTaken = numWeeds.toDouble() / weedCoverage
    } else if (numWeeds == 0) {
        timeTaken = 0.0
    }

    return timeTaken
}