Algorithms:
An algorithm is a series of finite steps carried out in a sequence for solving a problem. In other words, an algorithm defines a series of steps that leads to some desired result. Unlike flowcharts which don’t give many details about the series of steps involved in a program solving, algorithm provides the details of the steps involved in a program.
Some points that should be
keep in mind while using algorithms as a tool for program planning:
- An algorithm should be simple, enough to understood by people.
- A good algorithm development is essential for designing an effective program.
- The various construction constitute the algorithm should be precise and should not repeat.
Step 3: Print the Result.
Step 4: Exit.
Post a Comment