Hi, i would like to ask you if anyone here can help me. So my program is a Quiz but, the questions should be multiple choice and the questions were coming from a text file. After the user answers 10 questions , it will then compute for total correct answers.I have a code here but it does not get the questions to a text file. Please help me.
You want to consider holding the questions, possible answers and some indicator of what is right in some data structure.
The program then just presents the questions and multiple answers from the data structure.
If you find yourself repeating sections of code as you're doing for each question, it's time to step back and attempt to do things in a more general way.