/**
 * This function determines if a pilot can continue racing based on their speed and the maximum allowed speed.
 * The intersection of the 'AND operator' and 'break statement' is demonstrated here.
 *
 * @param pilotSpeed The speed of the pilot.
 * @param maxSpeed The maximum allowed speed.
 * @return A message indicating whether the pilot can continue racing or not.
 */
fun intersectionAndBreak(pilotSpeed: Float, maxSpeed: Float): String {

    return if (pilotSpeed <= maxSpeed) {
        "The pilot is within the speed limits. Continue racing."
    } else {
        "The pilot is exceeding the maximum speed limit. Break immediately!"
    }
}
/**
 * This function determines if a pilot can continue racing based on their speed and the maximum allowed speed.
 * The intersection of the 'AND operator' and 'break statement' is demonstrated here.
 *
 * @param pilotSpeed The speed of the pilot.
 * @param maxSpeed The maximum allowed speed.
 * @return A message indicating whether the pilot can continue racing or not.
 */
fun intersectionAndBreak(pilotSpeed: Float, maxSpeed: Float): String {
/**
 * This function determines if a pilot can continue racing based on their speed and the maximum allowed speed.
 * The intersection of the 'AND operator' and 'break statement' is demonstrated here.
 *
 * @param pilotSpeed The speed of the pilot.
 * @param maxSpeed The maximum allowed speed.
 * @return A message indicating whether the pilot can continue racing or not.
 */
fun intersectionAndBreak(pilotSpeed: Float, maxSpeed: Float): String {

    return if (pilotSpeed <= maxSpeed) {
        "The pilot is within the speed limits. Continue racing."
    } else {
        "The pilot is exceeding the maximum speed limit. Break immediately!"
    }
}