/**
 * As an interior designer, you need to calculate whether the available amount of paint is sufficient to paint a given wall area.
 * The function takes the wall area in square feet and the paint capacity in gallons as parameters and returns true if the paint is sufficient; otherwise, it returns false.
 *
 * @param wallArea The area of the wall to be painted in square feet.
 * @param paintCapacity The capacity of the paint in gallons.
 * @return true if the paint capacity is greater than or equal to the amount required to paint the wall area, false otherwise.
 *
 * Example:
 * calculateSufficiency(500, 5)
 * Output: true
 *
 * calculateSufficiency(1000, 1.5)
 * Output: false
 */
fun calculateSufficiency(wallArea: Int, paintCapacity: Double): Boolean {

    // Calculate the required amount of paint
    val requiredPaint = wallArea / 350.0 // Assuming 1 gallon of paint covers 350 square feet

    // Check if the paint capacity is sufficient
    return paintCapacity >= requiredPaint
}
/**
 * As an interior designer, you need to calculate whether the available amount of paint is sufficient to paint a given wall area.
 * The function takes the wall area in square feet and the paint capacity in gallons as parameters and returns true if the paint is sufficient; otherwise, it returns false.
 *
 * @param wallArea The area of the wall to be painted in square feet.
 * @param paintCapacity The capacity of the paint in gallons.
 * @return true if the paint capacity is greater than or equal to the amount required to paint the wall area, false otherwise.
 *
 * Example:
 * calculateSufficiency(500, 5)
 * Output: true
 *
 * calculateSufficiency(1000, 1.5)
 * Output: false
 */
fun calculateSufficiency(wallArea: Int, paintCapacity: Double): Boolean {
/**
 * As an interior designer, you need to calculate whether the available amount of paint is sufficient to paint a given wall area.
 * The function takes the wall area in square feet and the paint capacity in gallons as parameters and returns true if the paint is sufficient; otherwise, it returns false.
 *
 * @param wallArea The area of the wall to be painted in square feet.
 * @param paintCapacity The capacity of the paint in gallons.
 * @return true if the paint capacity is greater than or equal to the amount required to paint the wall area, false otherwise.
 *
 * Example:
 * calculateSufficiency(500, 5)
 * Output: true
 *
 * calculateSufficiency(1000, 1.5)
 * Output: false
 */
fun calculateSufficiency(wallArea: Int, paintCapacity: Double): Boolean {

    // Calculate the required amount of paint
    val requiredPaint = wallArea / 350.0 // Assuming 1 gallon of paint covers 350 square feet

    // Check if the paint capacity is sufficient
    return paintCapacity >= requiredPaint
}