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