# What is an Algorithm? What is its Purpose?

An algorithm is a set of rules or a process that must be followed. Algorithms are commonly used in a variety of fields, from information technology, to mathematics and statistics, etc. In terms of computers or software, the algorithm is a structured procedure that allows a computer to solve a problem.

The algorithm works are a set of guidelines or steps that the computer must solve in chronological order in order to arrive at the solution. The purpose of the algorithm is to provide the computer, or rather the software, a set of instructions to follow, which must be complete till the end, and in the order provided. For example:

- Create variable.
- Title it 0
- Add +1 for next variable
- Continue 205 times
- Give output

This is a simple but very vague example of an algorithm.

## Add new comment