An algorithm becomes a program when it is written in the form of a programming language. Thus, any program is an algorithm.