/**
 * This function compares two floating-point numbers (a and b) with a given epsilon value.
 * Your task is to complete the if statement inside the function to return True if the absolute
 * difference between a and b is less than or equal to epsilon, and False otherwise.
 *
 * @param a The first floating-point number
 * @param b The second floating-point number
 * @param epsilon The maximum allowable difference between a and b
 * @return True if the absolute difference between a and b is less than or equal to epsilon, False otherwise
 */
fun compareFloats(a: Double, b: Double, epsilon: Double): Boolean {

    return Math.abs(a - b) <= epsilon
}
/**
 * This function compares two floating-point numbers (a and b) with a given epsilon value.
 * Your task is to complete the if statement inside the function to return True if the absolute
 * difference between a and b is less than or equal to epsilon, and False otherwise.
 *
 * @param a The first floating-point number
 * @param b The second floating-point number
 * @param epsilon The maximum allowable difference between a and b
 * @return True if the absolute difference between a and b is less than or equal to epsilon, False otherwise
 */
fun compareFloats(a: Double, b: Double, epsilon: Double): Boolean {
/**
 * This function compares two floating-point numbers (a and b) with a given epsilon value.
 * Your task is to complete the if statement inside the function to return True if the absolute
 * difference between a and b is less than or equal to epsilon, and False otherwise.
 *
 * @param a The first floating-point number
 * @param b The second floating-point number
 * @param epsilon The maximum allowable difference between a and b
 * @return True if the absolute difference between a and b is less than or equal to epsilon, False otherwise
 */
fun compareFloats(a: Double, b: Double, epsilon: Double): Boolean {

    return Math.abs(a - b) <= epsilon
}