/**
 * This exercise involves the intersection of 'Introduction to floating-point numbers' and 'Positive Integers'.
 *
 * Given two positive floating-point numbers 'a' and 'b', your task is to calculate the product of their integer values.
 * The integer value of a floating-point number can be obtained by truncating the decimal part.
 *
 * Complete the code to solve the exercise.
 */
fun floatingPointExercise(a: Double, b: Double): Int {

    // Calculate the integer value of 'a' and store it in 'aInt'
    val aInt = a.toInt()

    // Calculate the integer value of 'b' and store it in 'bInt'
    val bInt = b.toInt()

    // Calculate the product of 'aInt' and 'bInt'
    val product = aInt * bInt

    // Return the result
    return product
}
/**
 * This exercise involves the intersection of 'Introduction to floating-point numbers' and 'Positive Integers'.
 *
 * Given two positive floating-point numbers 'a' and 'b', your task is to calculate the product of their integer values.
 * The integer value of a floating-point number can be obtained by truncating the decimal part.
 *
 * Complete the code to solve the exercise.
 */
fun floatingPointExercise(a: Double, b: Double): Int {
/**
 * This exercise involves the intersection of 'Introduction to floating-point numbers' and 'Positive Integers'.
 *
 * Given two positive floating-point numbers 'a' and 'b', your task is to calculate the product of their integer values.
 * The integer value of a floating-point number can be obtained by truncating the decimal part.
 *
 * Complete the code to solve the exercise.
 */
fun floatingPointExercise(a: Double, b: Double): Int {

    // Calculate the integer value of 'a' and store it in 'aInt'
    val aInt = a.toInt()

    // Calculate the integer value of 'b' and store it in 'bInt'
    val bInt = b.toInt()

    // Calculate the product of 'aInt' and 'bInt'
    val product = aInt * bInt

    // Return the result
    return product
}