I have a project, in which I want to be able to have the computer select a random assortment of items, the number of which being left up to the user.
At first I thought that I have to have an array of numbers, like 1-16 for example, and then have an array for the actual things being randomly selected, like violin, viola, etc. Then I thought, maybe I just need one array, and Random can do the rest even if it's an array of strings, or a data file or whatever.
Am I on the right track here with this part of the program? Can Random pick a random assortment of, strings or char's? The purpose of this program will be for when I want to write music, and don't care about what combination of instruments I have, and am not feeling particularly creative at the moment.