An algorithm is nothing but logical steps to solve the given problem. It is like an abstract idea.
A Program is set of instructions for the machine to solve that problem using any programming language like C, C++, Java etc.