- #1
rk2ray
- 9
- 0
Hello,
Examining the following DO statements and determining how many times each loop will be executed. Assume that all loop index variables are integers.
(a) DO irange = -32768, 32767
(b) DO j = 100, 1, -10
(c) DO count = 2, 3, 4
(d) DO index = -4, -7
(e) DO i = -10, 10, 10
The loop will take 10 increments and will run 2 times.
Thanks for any help.
Examining the following DO statements and determining how many times each loop will be executed. Assume that all loop index variables are integers.
(a) DO irange = -32768, 32767
(b) DO j = 100, 1, -10
(c) DO count = 2, 3, 4
(d) DO index = -4, -7
(e) DO i = -10, 10, 10
The loop will take 10 increments and will run 2 times.
Thanks for any help.
Last edited: