Mini-Exercise #5 -- Answer
v
Suppose we have a procedure “squid” that takes a
single integer argument.
The argument is only read
by squid, not changed.
Write a loop that calls a
“squid” with 2, 4, 6, 8, 10.
Dim i As Integer
i = 2
Do While i <= 10
Call squid(i)
i = i + 2
loop