Your data structure should make it easy to add a new topic+questions, and to add/remove questions for an existing topic. Your program should not require the same number of questions for any topic.
You can hard-code the data structure, with the topics, questions and answers, into your program.
Your data structure should make it easy to add a new topic+questions, and to add/remove questions for an existing topic. Your program should not require the same number of questions for any topic.
You can hard-code the data structure, with the topics, questions and answers, into your program.