FIT   100
© Copyright University of Washington 1999-2000
Mini-Exercise #5 -- Answer
vSuppose 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