/**
 * Return the product of [a] and [b], modulo [c], and assign the result to [d]
 */
fun multiplyAndModulo(a: Int, b: Int, c: Int, d: Int): Int {

    // Multiply the variables a and b
    var result = a * b

    // Perform modulo operation with the variable c
    result %= c

    // Assign the result to variable d
    var dResult = result

    return dResult
}
/**
 * Return the product of [a] and [b], modulo [c], and assign the result to [d]
 */
fun multiplyAndModulo(a: Int, b: Int, c: Int, d: Int): Int {
/**
 * Return the product of [a] and [b], modulo [c], and assign the result to [d]
 */
fun multiplyAndModulo(a: Int, b: Int, c: Int, d: Int): Int {

    // Multiply the variables a and b
    var result = a * b

    // Perform modulo operation with the variable c
    result %= c

    // Assign the result to variable d
    var dResult = result

    return dResult
}