Originally Posted by 4 yr old unregistered person
Hi. I have a project due Wednesday and I just looked at it. I don't know where to start. Could some body give me some pointers?
scantron.cpp
1. Accepts a scantron quiz key for a 10 item quiz. The first 9 digits are the ID and the next 10 characters are the answers. The key will have an ID of 000000000.
2. Accepts up to 50 scantron quizzes.
3. Stops when it encounters a form with an ID of 000000000. Note: The scantron generates the @ character when the answer is blank.
4. Prints a count of how many forms were scanned.
5. Prints a list of IDs and scores, as shown below.
6. Prints an analysis of the answers for each of the 10 questions, as shown below.
---Sample Dialogue-----------------------------------------------------
Key? 000000000ABCDEABCDE
Quiz? 111111111ABCABCABCA
Quiz? 234567891ABCDEABCDE
Quiz? 333333333AAAAAAAAAA
Quiz? 000000000@@@@@@@@@@
There were 3 quizzes scanned.
ID SCORE
-- --------
111111111 3
234567891 10
333333333 2
ITEM A B C D E Key
----- --- --- --- -- --- ------
1 3 0 0 0 0 A
2 1 2 0 0 0 B
3 1 0 2 0 0 C
4 2 0 0 1 0 D
5 1 1 0 0 1 E
6 2 0 1 0 0 A
7 2 1 0 0 0 B
8 1 1 1 0 0 C
9 1 0 1 1 0 D
10 2 0 0 0 1 E
-------------------------------------------------------------------------
Any help is greatly appreciated!