An algorithm is approximately the same thing as a recipe, but some kinds
of steps that would be allowed in a recipe are not allowed in an algorithm.
Which steps in the following recipe would be allowed in an algorithm?
Place 2 teaspoons of sugar in mixing bowl.
Add 1 egg to mixing bowl.
Add 1 cup of milk to mixing bowl.
Add 1 ounce of rum, if you are not driving.
Add vanilla extract to taste.
Beat until smooth.
Pour into a pretty glass.
The following recipe would be allowed in the given algorithm: