Hello and welcome to the challenge!
Write a code which checks exam results by comparing student's answers with correct ones. Sum the score by adding 4 points for every correct answer, subtracting 1 point for every incorrect one and ignoring empty answers (marked by empty strings).
- array with correct answers as one-letter strings
- array with student's answers as one-letter or empty strings
- the scored amount of points as an integer number
0 < length of the given arrays < 100
Did you like this challenge and would like to try your hand at some interesting big programming competitions? Check what’s all over the news in tech world in June 2019 in our article with upcoming IT Conferences, Hackathons and Online Challenges in June 2019.
Have fun and good luck! :)