/**
 * This function is used to determine the appropriate foundation type for a building based on the given parameters.
 *
 * @param groundCondition The condition of the ground (e.g., soft, firm, compacted).
 * @param buildingType The type of building (e.g., residential, commercial, industrial).
 * @param soilBearingCapacity The soil bearing capacity in kilonewtons per square meter (kN/m²).
 * @return The recommended foundation type for the given parameters.
 *
 * Instructions:
 * - Complete the code inside the function to determine the appropriate foundation type using nested logical operators.
 * - Consider real-life civil engineering scenarios to handle various conditions.
 * - The function should return one of the following foundation types: shallow, deep, raft, pile, or cantilever.
 *
 * Make it very difficult!
 */
fun checkFoundationType(groundCondition: String, buildingType: String, soilBearingCapacity: Double): String {

    var foundationType = ""

    // Add your complex code here using nested logical operators

    return foundationType
}
/**
 * This function is used to determine the appropriate foundation type for a building based on the given parameters.
 *
 * @param groundCondition The condition of the ground (e.g., soft, firm, compacted).
 * @param buildingType The type of building (e.g., residential, commercial, industrial).
 * @param soilBearingCapacity The soil bearing capacity in kilonewtons per square meter (kN/m²).
 * @return The recommended foundation type for the given parameters.
 *
 * Instructions:
 * - Complete the code inside the function to determine the appropriate foundation type using nested logical operators.
 * - Consider real-life civil engineering scenarios to handle various conditions.
 * - The function should return one of the following foundation types: shallow, deep, raft, pile, or cantilever.
 *
 * Make it very difficult!
 */
fun checkFoundationType(groundCondition: String, buildingType: String, soilBearingCapacity: Double): String {
/**
 * This function is used to determine the appropriate foundation type for a building based on the given parameters.
 *
 * @param groundCondition The condition of the ground (e.g., soft, firm, compacted).
 * @param buildingType The type of building (e.g., residential, commercial, industrial).
 * @param soilBearingCapacity The soil bearing capacity in kilonewtons per square meter (kN/m²).
 * @return The recommended foundation type for the given parameters.
 *
 * Instructions:
 * - Complete the code inside the function to determine the appropriate foundation type using nested logical operators.
 * - Consider real-life civil engineering scenarios to handle various conditions.
 * - The function should return one of the following foundation types: shallow, deep, raft, pile, or cantilever.
 *
 * Make it very difficult!
 */
fun checkFoundationType(groundCondition: String, buildingType: String, soilBearingCapacity: Double): String {

    var foundationType = ""

    // Add your complex code here using nested logical operators

    return foundationType
}