Algorithm

A step-by-step procedure or formula to solve a particular mathematical or logical problem is known as an algorithm.

In simple words, a procedure used to solve any complex problem by dividing it into simple steps is known as an algorithm. It can be written in simple language that can be easily read and write by a human.

For a more precise understanding, let us have a short example of an algorithm of adding two digits, The algorithm of adding 10 and 20 is listed below: