Well.. my situation is like that.I wrote a problem provide many questions, you can choose the number of question you wanna answer.
Once you choose the answer the hint will show in the program.ALL question, answer and hint I used 3 different txt files put them.
Here is the problem:
1.How can I know the first line and second line only in the no.1 question load 3 and 4 line only in the no.2 question.
2.How can I check the answer to compare with the answer in the name of "answer" file.
3.How to prevent the users play the same question again.