/**
 * This function calculates the power of a given base raised to a given exponent.
 */
fun calculatePower(base: Int, exponent: Int): Int {

    var result = 1
    repeat(exponent) {
        result *= base
    }
    return result
}
/**
 * This function calculates the power of a given base raised to a given exponent.
 */
fun calculatePower(base: Int, exponent: Int): Int {
/**
 * This function calculates the power of a given base raised to a given exponent.
 */
fun calculatePower(base: Int, exponent: Int): Int {

    var result = 1
    repeat(exponent) {
        result *= base
    }
    return result
}