Put "Tuesday" into the second slot.
LET DAY$(2) = "Tuesday"
Here is how this statement would work as part of a complete program:
DIM DAY$(1 TO 7) ' Make an array of seven strings LET DAY$(1) = "Monday" ' Make "Monday" the first item LET DAY$(2) = "Tuesday" ' Make "Tuesday" the second item PRINT "The day is", DAY$(1) ' Print out the first item. END
After the second LET statement, the array looks like this:
Monday |
Tuesday |
|
|
|
|
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
Put a statement at the end of the program that will print out the second day.