/**
 * Given the age, employment status, and whether the person has children or not, this function represents the decision-making process
 * of a social worker. It prints different messages based on the provided information.
 *
 * @param age the age of the person (integer)
 * @param hasJob a boolean indicating if the person has a job or not
 * @param hasChildren a boolean indicating if the person has children or not
 */
fun printDecisions(age: Int, hasJob: Boolean, hasChildren: Boolean) {

    if (age in 18..65) {
        println("You are of working age")

        if (hasJob) {
            println("You have a job. Good job!")

            if (hasChildren) {
                println("You have children. You are doing a great job balancing work and family.")
            } else {
                println("You don't have children. Enjoy your freedom!")
            }

            println("Keep up the good work!")

        } else {
            println("You don't have a job. Let's work on finding employment opportunities.")

            if (hasChildren) {
                println("You have children. It's important to find stable income to support them.")
            } else {
                println("You don't have children. Let's explore different job options.")
            }
        }
    }
}
/**
 * Given the age, employment status, and whether the person has children or not, this function represents the decision-making process
 * of a social worker. It prints different messages based on the provided information.
 *
 * @param age the age of the person (integer)
 * @param hasJob a boolean indicating if the person has a job or not
 * @param hasChildren a boolean indicating if the person has children or not
 */
fun printDecisions(age: Int, hasJob: Boolean, hasChildren: Boolean) {
/**
 * Given the age, employment status, and whether the person has children or not, this function represents the decision-making process
 * of a social worker. It prints different messages based on the provided information.
 *
 * @param age the age of the person (integer)
 * @param hasJob a boolean indicating if the person has a job or not
 * @param hasChildren a boolean indicating if the person has children or not
 */
fun printDecisions(age: Int, hasJob: Boolean, hasChildren: Boolean) {

    if (age in 18..65) {
        println("You are of working age")

        if (hasJob) {
            println("You have a job. Good job!")

            if (hasChildren) {
                println("You have children. You are doing a great job balancing work and family.")
            } else {
                println("You don't have children. Enjoy your freedom!")
            }

            println("Keep up the good work!")

        } else {
            println("You don't have a job. Let's work on finding employment opportunities.")

            if (hasChildren) {
                println("You have children. It's important to find stable income to support them.")
            } else {
                println("You don't have children. Let's explore different job options.")
            }
        }
    }
}