/**
 * Given a list of star distances from Earth and a radius, determine the number of stars that fall within the specified
 * distance from the Earth.
 *
 * @param stars a list of floats representing the distances in light years of different stars from Earth
 * @param radius a float representing the maximum distance from the Earth in light years
 * @return an integer representing the number of stars falling within the specified distance from Earth
 */
fun determineIntersection(stars: List<Float>, radius: Float): Int {

    var count = 0

    for (starDistance in stars) {
        if (starDistance <= radius) {
            count++
        }
    }

    return count
}
/**
 * Given a list of star distances from Earth and a radius, determine the number of stars that fall within the specified
 * distance from the Earth.
 *
 * @param stars a list of floats representing the distances in light years of different stars from Earth
 * @param radius a float representing the maximum distance from the Earth in light years
 * @return an integer representing the number of stars falling within the specified distance from Earth
 */
fun determineIntersection(stars: List<Float>, radius: Float): Int {
/**
 * Given a list of star distances from Earth and a radius, determine the number of stars that fall within the specified
 * distance from the Earth.
 *
 * @param stars a list of floats representing the distances in light years of different stars from Earth
 * @param radius a float representing the maximum distance from the Earth in light years
 * @return an integer representing the number of stars falling within the specified distance from Earth
 */
fun determineIntersection(stars: List<Float>, radius: Float): Int {

    var count = 0

    for (starDistance in stars) {
        if (starDistance <= radius) {
            count++
        }
    }

    return count
}