Algorithm
and flowchart to input and
numbers and find the average.
Answers
Explanation:
The sequence of steps to be performed in order to solve a problem by the computer is
known as an algorithm.
An algorithm may be defined as a finite sequence of steps each of which is precise,
unambiguous and executable in finite time.
Algorithm is a step-by-step procedure, which defines a set of instructions to be executed
in a certain order to get the desired output.
1. Input :> There are zero or more quantities which are externally supplied.
2. Output :> At least one quantity is produced.
3. Definiteness :> Each instruction must be clear and unambiguous.
4. Finiteness :> If we trace out the instructions of an algorithm, then for all cases the
algorithm will terminate after a finite number of steps.
5. Effectiveness: Every instruction must be sufficiently basic that it can in principle be
carried out by a person using only pencil and paper.