/**
 * This function returns the responsibilities of an architect based on various factors such as project type,
 * budget, and client satisfaction level.
 *
 * @param projectType Type of the project (residential, commercial, infrastructure)
 * @param budget Amount of budget available for the project (in dollars)
 * @param clientSatisfaction Level of client satisfaction (high, medium, low)
 * @return A string containing the architect's responsibilities based on the given factors.
 */
fun architectResponsibilities(projectType: String, budget: Int, clientSatisfaction: String): String {

    return when {
        projectType == "residential" && (budget < 100000 || clientSatisfaction == "low") -> {
            "Architect's responsibilities: Designing basic structures, coordinating with contractors, and ensuring minimum requirements are met."
        }
        projectType == "residential" && budget >= 100000 && clientSatisfaction == "medium" -> {
            "Architect's responsibilities: Designing aesthetically pleasing structures that meet client's requirements, coordinating with contractors and material vendors, and ensuring cost-effectiveness."
        }
        projectType == "residential" && budget >= 100000 && clientSatisfaction == "high" -> {
            "Architect's responsibilities: Designing high-quality structures that exceed client's expectations, managing project timelines and budgets effectively, and ensuring client satisfaction."
        }
        else -> "Architect's responsibilities for this scenario are not defined."
    }
}
/**
 * This function returns the responsibilities of an architect based on various factors such as project type,
 * budget, and client satisfaction level.
 *
 * @param projectType Type of the project (residential, commercial, infrastructure)
 * @param budget Amount of budget available for the project (in dollars)
 * @param clientSatisfaction Level of client satisfaction (high, medium, low)
 * @return A string containing the architect's responsibilities based on the given factors.
 */
fun architectResponsibilities(projectType: String, budget: Int, clientSatisfaction: String): String {
/**
 * This function returns the responsibilities of an architect based on various factors such as project type,
 * budget, and client satisfaction level.
 *
 * @param projectType Type of the project (residential, commercial, infrastructure)
 * @param budget Amount of budget available for the project (in dollars)
 * @param clientSatisfaction Level of client satisfaction (high, medium, low)
 * @return A string containing the architect's responsibilities based on the given factors.
 */
fun architectResponsibilities(projectType: String, budget: Int, clientSatisfaction: String): String {

    return when {
        projectType == "residential" && (budget < 100000 || clientSatisfaction == "low") -> {
            "Architect's responsibilities: Designing basic structures, coordinating with contractors, and ensuring minimum requirements are met."
        }
        projectType == "residential" && budget >= 100000 && clientSatisfaction == "medium" -> {
            "Architect's responsibilities: Designing aesthetically pleasing structures that meet client's requirements, coordinating with contractors and material vendors, and ensuring cost-effectiveness."
        }
        projectType == "residential" && budget >= 100000 && clientSatisfaction == "high" -> {
            "Architect's responsibilities: Designing high-quality structures that exceed client's expectations, managing project timelines and budgets effectively, and ensuring client satisfaction."
        }
        else -> "Architect's responsibilities for this scenario are not defined."
    }
}