/**
 * This function finds the largest integer within a given range.
 */
fun findLargestInRange(start: Int, end: Int): Int? {

    if (start > end) {
        return null
    }

    var largestNum = Int.MIN_VALUE
    for (num in start..end) {
        if (num > largestNum) {
            largestNum = num
        }
    }

    return largestNum
}
/**
 * This function finds the largest integer within a given range.
 */
fun findLargestInRange(start: Int, end: Int): Int? {
/**
 * This function finds the largest integer within a given range.
 */
fun findLargestInRange(start: Int, end: Int): Int? {

    if (start > end) {
        return null
    }

    var largestNum = Int.MIN_VALUE
    for (num in start..end) {
        if (num > largestNum) {
            largestNum = num
        }
    }

    return largestNum
}