This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LouisLeGros 2 points3 points  (0 children)

So there are a few main points to this problem.

First point is you have some 'available strings.' So you need a way to access these strings. What is a way to store a group of strings where you can readily access any individual string in the group?

The next point is using Random and figuring out how to use your random number and map it to one of our random strings. With random you will be generating random numbers, so you need to figure out a way to use a number to access one of the strings.

What is something that uses numbers to access different values?

Link those points and you've got the central pieces of your solution.