/**
 * This exercise requires the athlete to count the number of steps
 * taken during a workout session and execute a block of code based
 * on the count.
 *
 * The athlete is given a starting step count and a target number
 * of steps to be achieved. They need to increment the step count
 * by 1 for each step taken and execute a block of code if the
 * step count is a multiple of 5.
 *
 * @param athlete The name of the athlete
 * @param steps The target number of steps to be achieved
 * @return The final step count of the athlete
 */
fun countSteps(athlete: String, steps: Int): Int {

    var stepCount = 0  // Initial step count
    for (i in 0 until steps) {
        stepCount++
        if (stepCount % 5 == 0) {  // Execute the block of code every multiple of 5 steps
            // CODE COMPLETION: Replace '...' with an appropriate code to print the step count
            println("Congratulations! $athlete has taken $stepCount steps so far.")
        }
    }
    return stepCount
}
/**
 * This exercise requires the athlete to count the number of steps
 * taken during a workout session and execute a block of code based
 * on the count.
 *
 * The athlete is given a starting step count and a target number
 * of steps to be achieved. They need to increment the step count
 * by 1 for each step taken and execute a block of code if the
 * step count is a multiple of 5.
 *
 * @param athlete The name of the athlete
 * @param steps The target number of steps to be achieved
 * @return The final step count of the athlete
 */
fun countSteps(athlete: String, steps: Int): Int {
/**
 * This exercise requires the athlete to count the number of steps
 * taken during a workout session and execute a block of code based
 * on the count.
 *
 * The athlete is given a starting step count and a target number
 * of steps to be achieved. They need to increment the step count
 * by 1 for each step taken and execute a block of code if the
 * step count is a multiple of 5.
 *
 * @param athlete The name of the athlete
 * @param steps The target number of steps to be achieved
 * @return The final step count of the athlete
 */
fun countSteps(athlete: String, steps: Int): Int {

    var stepCount = 0  // Initial step count
    for (i in 0 until steps) {
        stepCount++
        if (stepCount % 5 == 0) {  // Execute the block of code every multiple of 5 steps
            // CODE COMPLETION: Replace '...' with an appropriate code to print the step count
            println("Congratulations! $athlete has taken $stepCount steps so far.")
        }
    }
    return stepCount
}