Problem 3:
- (input) Calculate estimated arrival time and put it in a variable called arriveTime.
- (input) Find out Available Landing Times. Store in a variable called availLanding.
- (Calculate) Compare estimated arrival with available landing times.
- (Decision) If the estimated arrival time is greater than last available landing time, change flight plan to land at Simms Airport.
- (Decision) If the estimated arrival time is less than the last available landing time proceed to Courtenay Airfield.
mwilson
Calculating the estimated arrival time is more than one step – you need to find the current time plus the remaining air time and add them together.
Otherwise, good.