Presentation About Algorithm
Presentation About Algorithm
Example 2 :
Here is an algorithm for making a smoothie:
1. Add fruit to the blender.
2. Add milk to the blender.
3. Put the lid on the blender.
4. Switch the blender on.
Imagine if we missed out one of the steps or reversed the order. We could end
up switching on the blender with nothing in it. Or there could just be milk in the
blender and no fruit.