Xpode.com        Click here to Print this article.

Basic Concepts - Format of formal representation of an algorithm

The formal representation of the algorithm has following two parts:

1. The first part describes the input data, the purpose of algorithm and the variables that will be used in the algorithm and their purpose.

2. The second part contains sequence of instructions or steps which are to be used to get the required results.


Algorithm to add two numbers is given below:


Contributed by:
Ritika Sood
Lecturer in computer science....Love to do programming...Other interests are sports, freaking out with frnds, travel at beautiful places, watch movies, listen songs....

Resourse address on xpode.com

Click here to go on website