/**
 * This function checks if the flight conditions are suitable for takeoff or landing.
 *
 * @param altitude Current altitude in feet.
 * @param airspeed Current airspeed in knots.
 * @param temperature Current temperature in Celsius.
 * @return "Suitable for takeoff" if conditions are suitable for takeoff,
 *         "Suitable for landing" if conditions are suitable for landing,
 *         "Conditions not suitable" otherwise.
 */
fun checkFlightConditions(altitude: Int, airspeed: Int, temperature: Int): String {

    return if (altitude > 5000 && airspeed < 200 && temperature > 5) {
        "Suitable for takeoff"
    } else if (altitude < 1000 || airspeed > 150 || temperature < -5) {
        "Suitable for landing"
    } else {
        "Conditions not suitable"
    }
}
/**
 * This function checks if the flight conditions are suitable for takeoff or landing.
 *
 * @param altitude Current altitude in feet.
 * @param airspeed Current airspeed in knots.
 * @param temperature Current temperature in Celsius.
 * @return "Suitable for takeoff" if conditions are suitable for takeoff,
 *         "Suitable for landing" if conditions are suitable for landing,
 *         "Conditions not suitable" otherwise.
 */
fun checkFlightConditions(altitude: Int, airspeed: Int, temperature: Int): String {
/**
 * This function checks if the flight conditions are suitable for takeoff or landing.
 *
 * @param altitude Current altitude in feet.
 * @param airspeed Current airspeed in knots.
 * @param temperature Current temperature in Celsius.
 * @return "Suitable for takeoff" if conditions are suitable for takeoff,
 *         "Suitable for landing" if conditions are suitable for landing,
 *         "Conditions not suitable" otherwise.
 */
fun checkFlightConditions(altitude: Int, airspeed: Int, temperature: Int): String {

    return if (altitude > 5000 && airspeed < 200 && temperature > 5) {
        "Suitable for takeoff"
    } else if (altitude < 1000 || airspeed > 150 || temperature < -5) {
        "Suitable for landing"
    } else {
        "Conditions not suitable"
    }
}