/**
 * This function takes a map of students and their exercise outcomes and prints each student's name
 * followed by their exercise completion status.
 * @param students A map containing the names of students as keys, and their exercise completion
 * status as values.
 * @param exercisesCompleted The total number of exercises completed.
 */
fun printStudentsExerciseOutcome(students: Map<String, Int>, exercisesCompleted: Int) {

    println("Student Exercise Outcome")
    println("------------------------")

    for ((student, exerciseStatus) in students) {
        println("$student: ${if (exerciseStatus >= exercisesCompleted) "Completed" else "Incomplete"}")
    }
}
/**
 * This function takes a map of students and their exercise outcomes and prints each student's name
 * followed by their exercise completion status.
 * @param students A map containing the names of students as keys, and their exercise completion
 * status as values.
 * @param exercisesCompleted The total number of exercises completed.
 */
fun printStudentsExerciseOutcome(students: Map<String, Int>, exercisesCompleted: Int) {
/**
 * This function takes a map of students and their exercise outcomes and prints each student's name
 * followed by their exercise completion status.
 * @param students A map containing the names of students as keys, and their exercise completion
 * status as values.
 * @param exercisesCompleted The total number of exercises completed.
 */
fun printStudentsExerciseOutcome(students: Map<String, Int>, exercisesCompleted: Int) {

    println("Student Exercise Outcome")
    println("------------------------")

    for ((student, exerciseStatus) in students) {
        println("$student: ${if (exerciseStatus >= exercisesCompleted) "Completed" else "Incomplete"}")
    }
}