Introduction to programming
A sequential solution of any program that written in human language, called algorithm.
Algorithm is first step of the solution process, after the analysis of problem, programmer writes
the algorithm of that problem.
Algorithm to reverse the digits of an integer
An algorithm is a stepbystep procedure for solving a stated problem using a reasonable
amount of time and storage.
Every problem has some input information and some desired results to be obtained.
The important aspect is to determine if the information available is really sufficient to solve the
problem at hand, and if it is so what are the procedures that should be applied to the given
information or data so that the required result can be obtained.
The development of a proper procedure to solve the problem is called an algorithm.
Page 5 of 260