CIS 230 - Visual Basic
Ch. 7 Worksheet #4
Determine the final values of any variables upon the termination of each loop. If the loop is infinite, simply write "infinite loop". If there is a syntax error, write "syntax error".
1. For k = 20 To 30
Step 2 k= |
2. t = 40 Do t = t - 4 Loop Until t < 8 t = |
3. f = 69 f = |
4. q = 65 q= |
5. For z = 25 To 125
Step 25 z = |
6. v = 12 v = m = |