/**
 * Given two positive integers n and m, this function prints all possible combinations of n and m using nested for loops.
 *
 * @param n The first positive integer.
 * @param m The second positive integer.
 */
fun printAllCombinations(n: Int, m: Int) {

    // Iterate through the range of n
    for (i in 1..n) {
        // Iterate through the range of m
        for (j in 1..m) {
            // Print the combination of i and j
            println("Combination: $i - $j")
        }
    }
}
/**
 * Given two positive integers n and m, this function prints all possible combinations of n and m using nested for loops.
 *
 * @param n The first positive integer.
 * @param m The second positive integer.
 */
fun printAllCombinations(n: Int, m: Int) {
/**
 * Given two positive integers n and m, this function prints all possible combinations of n and m using nested for loops.
 *
 * @param n The first positive integer.
 * @param m The second positive integer.
 */
fun printAllCombinations(n: Int, m: Int) {

    // Iterate through the range of n
    for (i in 1..n) {
        // Iterate through the range of m
        for (j in 1..m) {
            // Print the combination of i and j
            println("Combination: $i - $j")
        }
    }
}