Computer Programming I :: Projects :: Random Quotes Part 2
Now that you have learned about arrays, the Random Quotes project deserves a second look. How can you make the project more efficient using arrays?
- Write an algorithm before you begin programming. Your algorithm should discuss how an item will be chosen from your two arrays.
- Use an array to store the images and a second array to store the quotes.
- Use a constructor to populate the arrays.
- Select the random quote and picture using the random number as the index number of the array.