Problem 4:
Solution in English:
If Landing in Courtenay, Input Land time as variable landTime
Calculate landTime plus 20 minutes, store as variable dinTime
Input available reservation times, store as variable resTime
Compare dinTime to each resTime
If resTime is earlier than dinTime move on to next time
If resTime is equal to or later than dinTime, book this time
If landing in Smit’s Field, input land time as variable landTime
Calculate landTime plus 45 minutes, store as variable dinTime
Input available reservation times as variable resTime
Compare dinTime to each resTime
If resTime is earlier than dinTime, move on to next resTime
If resTime is equal to or later than dinTime, book this time
Problem in Flow Chart:
Leave a Reply