Definition of an Algorithm:
- An Algorithm is a limited number of logical steps that a program follows in order to solve a problem.
- A step-by-step (a set of) instructions which when followed will produce a solution to a given problem.
- Algorithms take little or no account of the programming language.
- They must be precise/ accurate, unambiguous/clear and should guarantee a solution.