| Contact PSVM (Q & A) | Notes Below Audio | [toc] [prev] Slide 9 of 12 [next] |
|
|
| 1, 2, 3, 4, 5, 6, 7, 8, [9 (top)], 10, 11, 12, [Lab] |
|
Notes for Slide 09 This example is similar to the scores example shown in the previous lesson about arrays. Notice that a for loop does not require the use of a separate statement to create a variable for counting, as well as the statement that initializes the counting variable before the loop and another statement inside the loop to increment the counting variable. Not only does using fewer statement make your programming easier, more importantly it makes reading your program easier. 1, 2, 3, 4, 5, 6, 7, 8, [9 (top)], 10, 11, 12, [Lab] |