/**
 * This function takes two integers as input and returns the sum of all the numbers that are multiples of both numbers
 * within a given range.
 *
 * @param num1 The first integer.
 * @param num2 The second integer.
 * @return The sum of all the numbers that are multiples of both num1 and num2.
 *
 * Example:
 * getModuloMultiples(3, 4) returns 12 since the numbers that are multiples of 3 and 4 within the range [1, 100] are
 * 12, 24, 36, 48, 60, 72, and 84.
 */
fun getModuloMultiples(num1: Int, num2: Int): Int {

    var sumOfMultiples = 0

    for (i in 1..100) {
        if (i % num1 == 0 && i % num2 == 0) {
            sumOfMultiples += i
        }
    }

    return sumOfMultiples
}
/**
 * This function takes two integers as input and returns the sum of all the numbers that are multiples of both numbers
 * within a given range.
 *
 * @param num1 The first integer.
 * @param num2 The second integer.
 * @return The sum of all the numbers that are multiples of both num1 and num2.
 *
 * Example:
 * getModuloMultiples(3, 4) returns 12 since the numbers that are multiples of 3 and 4 within the range [1, 100] are
 * 12, 24, 36, 48, 60, 72, and 84.
 */
fun getModuloMultiples(num1: Int, num2: Int): Int {
/**
 * This function takes two integers as input and returns the sum of all the numbers that are multiples of both numbers
 * within a given range.
 *
 * @param num1 The first integer.
 * @param num2 The second integer.
 * @return The sum of all the numbers that are multiples of both num1 and num2.
 *
 * Example:
 * getModuloMultiples(3, 4) returns 12 since the numbers that are multiples of 3 and 4 within the range [1, 100] are
 * 12, 24, 36, 48, 60, 72, and 84.
 */
fun getModuloMultiples(num1: Int, num2: Int): Int {

    var sumOfMultiples = 0

    for (i in 1..100) {
        if (i % num1 == 0 && i % num2 == 0) {
            sumOfMultiples += i
        }
    }

    return sumOfMultiples
}