Whole Class (Quiz Scorer)
Read the key, then n, then n lines name answers. Print name score/total for each student.
Input: Key, n, then student lines.
Output: One line per student.
Difficulty: Medium. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Hint
- Reuse your scoring from step 1 as a function.