An algorithm is a list of rules to follow in order to complete a task or solve a problem. The steps in an algorithm need to be in the right order. Think about an algorithm for getting dressed in the ...
When you create an algorithm, you need to include precise, step-by-step instructions. This means you will need to break down the task or problem into smaller steps. We call this process decomposition.
The dictionary definition of 'algorithm' is: A precise step-by-step plan for a computational procedure that possibly begins with an input value and yields an output value in a finite number of steps.