###### Asked in Computer ProgrammingMath and Arithmetic

Computer Programming

Math and Arithmetic

# What is the purpose of algorithm?

## Answer

###### Wiki User

###### April 24, 2015 9:21AM

It is a set of rules or a procedure for carrying out certain calculations.

## Related Questions

###### Asked in Computer Programming, Math and Arithmetic, C Programming

### What is sub-algorithm?

It is an algorithm used by another algorithm as part of the
second algorithm's operation.
As an example, an algorithm for finding the median value in a list
of numbers might include sorting the numbers as a sub-algorithm:
There are plenty of algorithms for sorting, and the specifics of
the sorting does not matter to the "median value" algorithm, only
that the numbers are sorted when the sub-algorithm is done.
For what an algorithm is, see related link.

Load More