Modify Programming Project 6.12 to use a single array instead of three arrays. This can be accomplished by creating a Trivia object that encapsulates the question, answer, and point value for a particular trivia question. Next, create a single array of five Trivia objects instead of three separate arrays for the question, answer, and point values. This change will make your game more scalable if there were ever additional properties to add to a Trivia object (you wouldn’t need to add another array for each property). Although the program has internally changed to a single array of objects, the execution of the program should be identical to before.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.