Algorithm
Algorithm
It is a sequence of steps that transform the input into a valuable or required output.
Properties of an algorithm:
Effectiveness: Each step must be simple, clear and easy to carry out with pen and
Paper.
Example:
Step1: Start
Step3: s= a+b
Step4: Display s
Step5: Stop
Input – a,b
Output – s
Effectiveness: Each step must be simple, clear and easy to carry out with pen
and paper.