/**
 * Calculate the sum and product of all the floating-point numbers in the nested lists.
 * Use nested loops with break and continue statements.
 */
fun calculateSumProduct(numbers: List<List<Any>>): Pair<Double, Double> {

    var totalSum = 0.0
    var totalProduct = 1.0

    for (sublist in numbers) {
        for (num in sublist) {
            if (num is Double) {
                if (num < 0) {
                    continue
                }

                totalSum += num

                if (totalProduct == 0.0) {
                    break
                }

                totalProduct *= num
            }
        }
    }

    return Pair(totalSum, totalProduct)
}
/**
 * Calculate the sum and product of all the floating-point numbers in the nested lists.
 * Use nested loops with break and continue statements.
 */
fun calculateSumProduct(numbers: List<List<Any>>): Pair<Double, Double> {
/**
 * Calculate the sum and product of all the floating-point numbers in the nested lists.
 * Use nested loops with break and continue statements.
 */
fun calculateSumProduct(numbers: List<List<Any>>): Pair<Double, Double> {

    var totalSum = 0.0
    var totalProduct = 1.0

    for (sublist in numbers) {
        for (num in sublist) {
            if (num is Double) {
                if (num < 0) {
                    continue
                }

                totalSum += num

                if (totalProduct == 0.0) {
                    break
                }

                totalProduct *= num
            }
        }
    }

    return Pair(totalSum, totalProduct)
}