let reservationTime = [1,2,3,4,5]

let landingTime = x;

if( if landsInCourtenay = true){

newLandingTime = landingTime + 20;

}

else{

newLandingTime = landingTime + 45;

}

for(i=0; i= reservationTime; i++){

if(resevationTime[i] >= newLandingTime){

console.log(“reservation successfully made”);

}

else{

console/log(“not able to make reservation”)

};

};