/**
 * Given two numbers, divide them and return the result as a tuple.
 *
 * @param num1 a number (float or int)
 * @param num2 another number (float or int)
 * @return a tuple containing the quotient and remainder when num1 is divided by num2
 */
fun divideTuple(num1: Number, num2: Number): Pair<Double, Double> {

    val quotient = num1.toDouble() / num2.toDouble()
    val remainder = num1.toDouble() % num2.toDouble()
    return Pair(quotient, remainder)
}
/**
 * Given two numbers, divide them and return the result as a tuple.
 *
 * @param num1 a number (float or int)
 * @param num2 another number (float or int)
 * @return a tuple containing the quotient and remainder when num1 is divided by num2
 */
fun divideTuple(num1: Number, num2: Number): Pair<Double, Double> {
/**
 * Given two numbers, divide them and return the result as a tuple.
 *
 * @param num1 a number (float or int)
 * @param num2 another number (float or int)
 * @return a tuple containing the quotient and remainder when num1 is divided by num2
 */
fun divideTuple(num1: Number, num2: Number): Pair<Double, Double> {

    val quotient = num1.toDouble() / num2.toDouble()
    val remainder = num1.toDouble() % num2.toDouble()
    return Pair(quotient, remainder)
}