Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 26)

What steps are generally needed when the 'counting' algorithm is implemented?
Initializing a counter variable.
Incrementing the counter based on a condition.
Comparing multiple values.
Looping to evaluate the condition.

Explanation

To count you must define, increment and loop.

Comments (0)

Advertisement