Still potential for a mess!...
Adding 100 numbers x[] is fine.
Suppose later we want to add 1011 numbers using sequence y[]?
Do we have to repeat the same set of instructions all over again, with small modifications?
No way!
Use procedures!!!
Previous slide
Back to first slide
View graphic version