/**
 * This exercise is for a physical therapist to practice using the string methods and number line representation.
 *
 * You have been given two strings representing positions on a number line. Your task is to calculate the distance
 * between these two positions. Each position is represented by a number on the number line. You need to find the
 * absolute difference between the numbers to determine the distance.
 *
 * For example, given "10" and "3" as input, the distance between them is 7 units.
 *
 * Your task is to complete the function countDistanceBetweenStrings to calculate and return the distance between
 * the given start and end strings.
 *
 * You can assume that the given strings will only contain numeric characters and will represent valid positions on
 * the number line.
 */
fun countDistanceBetweenStrings(start: String, end: String): Int {

    val startInt = start.toInt()
    val endInt = end.toInt()

    val distance = Math.abs(startInt - endInt)

    return distance
}
/**
 * This exercise is for a physical therapist to practice using the string methods and number line representation.
 *
 * You have been given two strings representing positions on a number line. Your task is to calculate the distance
 * between these two positions. Each position is represented by a number on the number line. You need to find the
 * absolute difference between the numbers to determine the distance.
 *
 * For example, given "10" and "3" as input, the distance between them is 7 units.
 *
 * Your task is to complete the function countDistanceBetweenStrings to calculate and return the distance between
 * the given start and end strings.
 *
 * You can assume that the given strings will only contain numeric characters and will represent valid positions on
 * the number line.
 */
fun countDistanceBetweenStrings(start: String, end: String): Int {
/**
 * This exercise is for a physical therapist to practice using the string methods and number line representation.
 *
 * You have been given two strings representing positions on a number line. Your task is to calculate the distance
 * between these two positions. Each position is represented by a number on the number line. You need to find the
 * absolute difference between the numbers to determine the distance.
 *
 * For example, given "10" and "3" as input, the distance between them is 7 units.
 *
 * Your task is to complete the function countDistanceBetweenStrings to calculate and return the distance between
 * the given start and end strings.
 *
 * You can assume that the given strings will only contain numeric characters and will represent valid positions on
 * the number line.
 */
fun countDistanceBetweenStrings(start: String, end: String): Int {

    val startInt = start.toInt()
    val endInt = end.toInt()

    val distance = Math.abs(startInt - endInt)

    return distance
}