60 377
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #30847 in C++ for Sarah

Question #30847
If I am randomizing a set of questions in an external files and I have multiple choice answers that pertain to specific questions. How do I keep them all together?
Expert's answer
To solve this problem we create one file which containsa question, a divider (a point or a comma) and the answer for this question.

It has such appearance: Question , answer
For example, we have a question: What is the capital of GB?1. London, 2. Berlin, ....
Correct answer is 1. London
Then, in the file we write:

What is the capital of GB? , 1

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions