Java Program which can compare results to a master list. Expert programmer!
Andrew: cherry
Andrew: orange
Andrew: apple
Bryan: apple
Bryan: orange
Bryan: cherry
Mike: orange
Mike: cherry
Mike: apple
Correct answer: apple
Correct answer: orange
Correct answer: cherry
How to develop a java program that can compare answers to the list of correct answers and output how many were correct
Example of output should be something like: Andrew 1 correct answer, Mike 0 correct answers, Bryan 3 correct answers.
Any help would be appreciated
|