9. If you declare an array as int scores[100];, then the highest subscript you should use is _____.
10. A value that you use as input to stop a loop from continuing to execute is commonly called a(n) ____________ value.
11. If you declare an array as int homeRuns[7];, then the value of homeRuns[0] is _____.
12. If you declare an array as int baskets[10] = {2,4,6};, then the value of baskets[0] is_____.
13. If you declare an array as int vals[5];, then you can double the value stored in vals[2] with the statement _____.
Comments
Leave a comment