/**
 * This function calculates the sum of squares for a range of numbers.
 *
 * @param start The starting number of the range.
 * @param end The ending number of the range.
 * @return The sum of squares for the range of numbers.
 */
fun sumOfSquares(start: Int, end: Int): Int {

    var result = 0
    for (i in start..end) {
        result += i * i
    }
    return result
}
/**
 * This function calculates the sum of squares for a range of numbers.
 *
 * @param start The starting number of the range.
 * @param end The ending number of the range.
 * @return The sum of squares for the range of numbers.
 */
fun sumOfSquares(start: Int, end: Int): Int {
/**
 * This function calculates the sum of squares for a range of numbers.
 *
 * @param start The starting number of the range.
 * @param end The ending number of the range.
 * @return The sum of squares for the range of numbers.
 */
fun sumOfSquares(start: Int, end: Int): Int {

    var result = 0
    for (i in start..end) {
        result += i * i
    }
    return result
}