the computer then "executes" the program gollowing each step mechanically to accomplish the end goal.
let's say that you have a friend arriving at the airport and your friend needs to get from the airport to your house.
here are four different algorithms that you might give your friend for getting to your home.