Problem 3:
- Find out (input) delayed leave time due to wind conditions. Store it in a variable called ‘leaveTime’
- Find out (input) additional time it took for the time. Store it in a variable called ‘tripLength’
- Calculate leaveTime + tripLength. Store it in a variable called ‘arriavalTime’
- If availableTime equals new arrivalTime, land at Courtenay
- If availableTime is not equal to arrivalTime, land at Smith Falls
Leave a Reply