Question: A program contains a seven-element array that holds the names of the days of the week. At the start of the program, you display the
A program contains a seven-element array that holds the names of the days of the week. At the start of the program, you display the day names using a subscript named dayNum. You display the same array values again at the end of the program, where you ________ as a subscript to the array.
a. Must use dayNum
b. Can use dayNum, but can also use another numeric value
c. Must not use dayNum
d. Must use a numeric constant instead of a variable
Step by Step Solution
3.36 Rating (168 Votes )
There are 3 Steps involved in it
b Can use d... View full answer
Get step-by-step solutions from verified subject matter experts
